# ObjectHierarchicalExpanderColumn

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-treedatagrid/models/struct-objecthierarchicalexpandercolumn/

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

```rust
struct ObjectHierarchicalExpanderColumn
```

`ObjectHierarchicalExpanderColumn`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/models/object_hierarchical_expander_column.rs#L18)

## Members

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

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

### new

```rust
fn new(inner: Rc<dyn IViewColumn<BoxedValue>>, child_selector: impl Fn(&BoxedValue) -> Option<Models<BoxedValue>> + 'static, has_children_selector: Option<Rc<dyn Fn(&BoxedValue) -> bool>>, is_expanded_getter: Option<Rc<dyn Fn(&BoxedValue) -> bool>>, is_expanded_setter: Option<Rc<dyn Fn(&BoxedValue, bool) -> ()>>, has_children_links: Option<Vec<ObjectLink>>, is_expanded_links: Option<Vec<ObjectLink>>) -> Rc<HierarchicalExpanderColumn<BoxedValue>>
```

An expander column of `inner` over untyped models. `child_selector` gives the children of
a model; `has_children_selector` whether it has children, re-read when one of
`has_children_links` changes; `is_expanded_getter` and `is_expanded_setter` the model's
expansion state, re-read when one of `is_expanded_links` changes. Without links the model
itself is observed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/models/object_hierarchical_expander_column.rs#L27)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`

## Availability

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