TreeDataGridRowSelectionInteraction
struct · ferroui-controls-treedatagrid · v0.5.0
struct TreeDataGridRowSelectionInteraction
The interaction of a row selection with the control (TreeDataGridRowSelectionInteraction<TModel>).
Members
new
fn new(source: Rc<dyn ITreeDataGridSource>, selection: Rc<dyn IUntypedRowSelection>) -> Rc<Self>
The interaction of the row selection selection of source, following its StateChanged.
with_model
fn with_model(source: Rc<dyn ITreeDataGridSource>, selection: Rc<dyn ITreeSelectionModel>) -> Rc<Self>
The interaction of a tree selection of source whose row selection type is not known: it
follows the selection's own events in place of StateChanged.
selection
fn selection(self: &Self) -> &Rc<dyn ITreeSelectionModel>
The tree selection model of the rows.
source
fn source(self: &Self) -> &Rc<dyn ITreeDataGridSource>
The source of the rows.
dispose
fn dispose(self: &Self)
Stops following the selection (Dispose).
handle_text_input
fn handle_text_input(self: &Self, text: Option<&str>, tree_data_grid: &TreeDataGrid, selected_row_index: i32)
HandleTextInput: type-ahead search of the columns that search their text, from the row
after selected_row_index.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherITreeDataGridSelectionInteractionDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.