# presentation

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/

**module** · [`ferroui-controls-treedatagrid`](/docs/0.5.0/api/ferroui-controls-treedatagrid/) · v0.5.0

```rust
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.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/presentation/mod.rs#L1)

## Contents

- [`check_box_conversion`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/function-check_box_conversion/) — function
- [`untyped_conversion`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/function-untyped_conversion/) — function
- [`CellValueConversion`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-cellvalueconversion/) — struct
- [`CoreCellBinding`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-corecellbinding/) — struct
- [`CoreCheckBoxColumn`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-corecheckboxcolumn/) — struct
- [`CoreTextColumn`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-coretextcolumn/) — struct
- [`CellColumnBase`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-cellcolumnbase/) — struct
- [`CellColumnFactory`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-cellcolumnfactory/) — struct
- [`CellColumnOptions`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-cellcolumnoptions/) — struct
- [`CellModelPool`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-cellmodelpool/) — struct
- [`to_core_length`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/function-to_core_length/) — function
- [`to_view_length`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/function-to_view_length/) — function
- [`CoreExpanderCell`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-coreexpandercell/) — struct
- [`ExpanderColumnPresentation`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-expandercolumnpresentation/) — struct
- [`apply_selection_mode_to`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/function-apply_selection_mode_to/) — function
- [`create_presentation`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/function-create_presentation/) — function
- [`PresentationColumns`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-presentationcolumns/) — struct
- [`TreeDataGridSourcePresentation`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-treedatagridsourcepresentation/) — struct
- [`ColumnPresentationFactory`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/type_alias-columnpresentationfactory/) — type alias
- [`ITreeDataGridPresentationOptions`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/trait-itreedatagridpresentationoptions/) — trait
- [`TreeDataGridPresentationOptions`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-treedatagridpresentationoptions/) — struct
- [`as_reusable_cell_rows`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/function-as_reusable_cell_rows/) — function
- [`IReusableCellRows`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/trait-ireusablecellrows/) — trait
- [`TreeDataGridRows`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/struct-treedatagridrows/) — struct
- [`IDisposableColumn`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/trait-idisposablecolumn/) — trait
- [`register_disposable_column`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/function-register_disposable_column/) — function
- [`dispose_column`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/function-dispose_column/) — function
- [`TreeDataGridPresentation`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/trait-treedatagridpresentation/) — trait
- [`PresentationRef`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/type_alias-presentationref/) — type alias

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
