# IReusableCellRows

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

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

```rust
trait IReusableCellRows
```

Rows that can retarget a realized cell to another row without returning it to a pool
(`IReusableCellRows`).

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

## Members

- [`try_reuse_cell`](#function-try_reuse_cell)

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

### try_reuse_cell

```rust
fn try_reuse_cell(self: &Self, column: &ColumnRef, cell: &CellRef, row_index: i32) -> bool
```

Retargets `cell` of `column` to the row at `row_index`; false when the column cannot.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/presentation/tree_data_grid_rows.rs#L19)

## Trait implementations

- [`IReusableCellRows`](/docs/0.5.0/api/ferroui-controls-treedatagrid/presentation/trait-ireusablecellrows/)

## Availability

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