FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeDataGridRowSelectionInteraction

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct TreeDataGridRowSelectionInteraction
    

    The interaction of a row selection with the control (TreeDataGridRowSelectionInteraction<TModel>).

    View source

    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.

    Source

    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.

    Source

    selection

    fn selection(self: &Self) -> &Rc<dyn ITreeSelectionModel>
    

    The tree selection model of the rows.

    Source

    source

    fn source(self: &Self) -> &Rc<dyn ITreeDataGridSource>
    

    The source of the rows.

    Source

    dispose

    fn dispose(self: &Self)
    

    Stops following the selection (Dispose).

    Source

    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.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.