# create_presentation

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

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

```rust
fn create_presentation(model: &std::rc::Rc<dyn ITreeDataGridSource>, options: Option<&std::rc::Rc<dyn ITreeDataGridPresentationOptions>>) -> super::PresentationRef
```

The presentation of `model` (`TreeDataGridPresentation.Create`): the options' presentation, or
the presentation of the source with the default options.

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

## Availability

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