ColumnOptions
struct · ferroui-controls-treedatagrid · v0.5.0
struct ColumnOptions<M: 'static>
ColumnOptions<TModel>.
Members
newcan_user_resize_columnset_can_user_resize_columncan_user_sort_columnset_can_user_sort_columnmin_widthset_min_widthmax_widthset_max_widthcompare_ascendingset_compare_ascendingcompare_descendingset_compare_descendingbegin_edit_gesturesset_begin_edit_gestures
new
fn new() -> Self
can_user_resize_column
fn can_user_resize_column(self: &Self) -> Option<bool>
Whether the user can resize the column by dragging; None: the control's
CanUserResizeColumns applies.
set_can_user_resize_column
fn set_can_user_resize_column(self: &Self, value: Option<bool>)
can_user_sort_column
fn can_user_sort_column(self: &Self) -> Option<bool>
Whether the user can sort the column by clicking; None: the control's
CanUserSortColumns applies.
set_can_user_sort_column
fn set_can_user_sort_column(self: &Self, value: Option<bool>)
min_width
fn min_width(self: &Self) -> GridLength
The minimum width of the column.
set_min_width
fn set_min_width(self: &Self, value: GridLength)
max_width
fn max_width(self: &Self) -> Option<GridLength>
The maximum width of the column.
set_max_width
fn set_max_width(self: &Self, value: Option<GridLength>)
compare_ascending
fn compare_ascending(self: &Self) -> Option<Comparison<M>>
A custom comparison for the ascending order.
set_compare_ascending
fn set_compare_ascending(self: &Self, value: Option<Comparison<M>>)
compare_descending
fn compare_descending(self: &Self) -> Option<Comparison<M>>
A custom comparison for the descending order.
set_compare_descending
fn set_compare_descending(self: &Self, value: Option<Comparison<M>>)
begin_edit_gestures
fn begin_edit_gestures(self: &Self) -> BeginEditGestures
The gestures that make a cell enter edit mode.
set_begin_edit_gestures
fn set_begin_edit_gestures(self: &Self, value: BeginEditGestures)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClassDefaultsErasedDestructorIntoEitherDefaultCloneIColumnOptions<M>ICellOptions
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.