pub struct DataTableOptions {Show 13 fields
pub enable_sorting: bool,
pub enable_multi_sort: bool,
pub enable_filtering: bool,
pub enable_global_filter: bool,
pub enable_pagination: bool,
pub enable_row_selection: bool,
pub enable_expanding: bool,
pub enable_column_visibility: bool,
pub enable_column_ordering: bool,
pub enable_column_pinning: bool,
pub enable_column_resizing: bool,
pub enable_grouping: bool,
pub debug: bool,
}Expand description
Options for table configuration.
Each field controls whether a specific feature is enabled in the table instance.
Fields§
§enable_sorting: boolWhether to enable sorting.
enable_multi_sort: boolWhether to enable multi-column sorting.
enable_filtering: boolWhether to enable filtering.
enable_global_filter: boolWhether to enable global filtering.
enable_pagination: boolWhether to enable pagination.
enable_row_selection: boolWhether to enable row selection.
enable_expanding: boolWhether to enable row expansion.
enable_column_visibility: boolWhether to enable column visibility.
enable_column_ordering: boolWhether to enable column ordering.
enable_column_pinning: boolWhether to enable column pinning.
enable_column_resizing: boolWhether to enable column resizing.
enable_grouping: boolWhether to enable row grouping.
debug: boolDebug mode.
Trait Implementations§
Source§impl Clone for DataTableOptions
impl Clone for DataTableOptions
Source§fn clone(&self) -> DataTableOptions
fn clone(&self) -> DataTableOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DataTableOptions
impl Debug for DataTableOptions
Source§impl Default for DataTableOptions
Provides default table options with all features enabled.
impl Default for DataTableOptions
Provides default table options with all features enabled.
Source§fn default() -> DataTableOptions
fn default() -> DataTableOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DataTableOptions
impl RefUnwindSafe for DataTableOptions
impl Send for DataTableOptions
impl Sync for DataTableOptions
impl Unpin for DataTableOptions
impl UnsafeUnpin for DataTableOptions
impl UnwindSafe for DataTableOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.