presentation
module · ferroui-controls-treedatagrid · v0.5.0
module presentation
Presentation/: the presentation of a core source to the control: the view columns of the
source's columns, the rows that realize the cells, the selection interaction and sorting.
The reference's presentation is typed by the model (TreeDataGridPresentation<TModel>) and
created through a visitor of the source; the port's presentation is untyped
(docs/porting/treedatagrid.md, 3.1): models are untyped values, the values of neutral columns
are read through the core's erased access to its columns, and the typed operations the
presentation needs of a model type (creating selections, reading a cell selection, following
the source's columns) come from the model type's registration
(register_tree_data_grid_model).
The adapters of the reference (Adapters/CoreConversions.cs, Adapters/LegacySourcePresentation.cs)
fold into this module: a source whose columns are the control crate's view columns is
presented by the same presentation, which uses their views directly.
Contents
check_box_conversion— functionuntyped_conversion— functionCellValueConversion— structCoreCellBinding— structCoreCheckBoxColumn— structCoreTextColumn— structCellColumnBase— structCellColumnFactory— structCellColumnOptions— structCellModelPool— structto_core_length— functionto_view_length— functionCoreExpanderCell— structExpanderColumnPresentation— structapply_selection_mode_to— functioncreate_presentation— functionPresentationColumns— structTreeDataGridSourcePresentation— structColumnPresentationFactory— type aliasITreeDataGridPresentationOptions— traitTreeDataGridPresentationOptions— structas_reusable_cell_rows— functionIReusableCellRows— traitTreeDataGridRows— structIDisposableColumn— traitregister_disposable_column— functiondispose_column— functionTreeDataGridPresentation— traitPresentationRef— type alias
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.