# ColumnCreateOptions

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

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

```rust
struct ColumnCreateOptions<M: 'static>
```

The options of a column created by the helpers (`ColumnCreateOptions<TModel>`).

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

## Members

- [`width`](#struct_field-width)
- [`can_user_resize`](#struct_field-can_user_resize)
- [`can_user_sort_column`](#struct_field-can_user_sort_column)
- [`allow_tri_state_sorting`](#struct_field-allow_tri_state_sorting)
- [`min_width`](#struct_field-min_width)
- [`max_width`](#struct_field-max_width)
- [`compare_ascending`](#struct_field-compare_ascending)
- [`compare_descending`](#struct_field-compare_descending)
- [`begin_edit_gestures`](#struct_field-begin_edit_gestures)

<a id="struct_field-width"></a>

### width

```rust
width: ferroui_controls::GridLength
```



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

<a id="struct_field-can_user_resize"></a>

### can_user_resize

```rust
can_user_resize: Option<bool>
```



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

<a id="struct_field-can_user_sort_column"></a>

### can_user_sort_column

```rust
can_user_sort_column: Option<bool>
```



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

<a id="struct_field-allow_tri_state_sorting"></a>

### allow_tri_state_sorting

```rust
allow_tri_state_sorting: bool
```



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

<a id="struct_field-min_width"></a>

### min_width

```rust
min_width: ferroui_controls::GridLength
```



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

<a id="struct_field-max_width"></a>

### max_width

```rust
max_width: Option<ferroui_controls::GridLength>
```



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

<a id="struct_field-compare_ascending"></a>

### compare_ascending

```rust
compare_ascending: Option<ferroui_treedatagrid_core::models::Comparison<M>>
```



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

<a id="struct_field-compare_descending"></a>

### compare_descending

```rust
compare_descending: Option<ferroui_treedatagrid_core::models::Comparison<M>>
```



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

<a id="struct_field-begin_edit_gestures"></a>

### begin_edit_gestures

```rust
begin_edit_gestures: crate::models::BeginEditGestures
```



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

## 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`
- `Default`

## Availability

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