# TreeDataGridRowsPresenterProps

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/generated/treedatagrid/trait-treedatagridrowspresenterprops/

**trait** · [`ferroui-view`](/docs/0.5.0/api/ferroui-view/) · v0.5.0

```rust
trait TreeDataGridRowsPresenterProps: ElementBuilder
```

The properties and routed events of `TreeDataGridRowsPresenter`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/treedatagrid.rs#L297)

## Members

- [`cache_length`](#function-cache_length)
- [`columns`](#function-columns)
- [`element_factory`](#function-element_factory)
- [`items`](#function-items)

<a id="function-cache_length"></a>

### cache_length

```rust
fn cache_length<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
```

Sets `TreeDataGridRowsPresenter::cache_length_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/treedatagrid.rs#L299)

<a id="function-columns"></a>

### columns

```rust
fn columns<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls_treedatagrid::models::IColumns>>, M>) -> Self
```

Sets `TreeDataGridRowsPresenter::columns_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/treedatagrid.rs#L304)

<a id="function-element_factory"></a>

### element_factory

```rust
fn element_factory<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<ferroui_controls_treedatagrid::primitives::TreeDataGridElementFactory>>, M>) -> Self
```

Sets `TreeDataGridRowsPresenter::element_factory_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/treedatagrid.rs#L309)

<a id="function-items"></a>

### items

```rust
fn items<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls_treedatagrid::models::ITreeDataGridRows>>, M>) -> Self
```

Sets `TreeDataGridRowsPresenter::items_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/treedatagrid.rs#L314)

## Trait implementations

- [`TreeDataGridRowsPresenterProps`](/docs/0.5.0/api/ferroui-view/generated/treedatagrid/trait-treedatagridrowspresenterprops/)

## Availability

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