# TreeDataGridRowImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-treedatagrid/primitives/trait-treedatagridrowimpl/

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

```rust
trait TreeDataGridRowImpl: TemplatedControlImpl + $crate::Upcast<TreeDataGridRow>
```

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/primitives/tree_data_grid_row.rs#L45)

## Members

- [`on_realized`](#function-on_realized)
- [`on_row_index_changed`](#function-on_row_index_changed)
- [`on_unrealizing`](#function-on_unrealizing)

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

### on_realized

```rust
fn on_realized(this: &Self, row_index: i32)
```

Called after this row has been realized and its primary cells presenter has been
updated. `row_index` is the realized row index.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/primitives/tree_data_grid_row.rs#L45)

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

### on_row_index_changed

```rust
fn on_row_index_changed(this: &Self, old_row_index: i32, new_row_index: i32)
```

Called after the index of this realized row and its primary cells has changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/primitives/tree_data_grid_row.rs#L45)

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

### on_unrealizing

```rust
fn on_unrealizing(this: &Self, row_index: i32, reason: TreeDataGridRowUnrealizeReason)
```

Called before this row and its primary cells presenter are unrealized. `row_index` is
the row index that is about to be cleared and `reason` the reason the row is being
unrealized.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/primitives/tree_data_grid_row.rs#L45)

## Trait implementations

- [`TreeDataGridRowImpl`](/docs/0.5.0/api/ferroui-controls-treedatagrid/primitives/trait-treedatagridrowimpl/)

## Availability

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