pub struct TableOptions {Show 37 fields
pub enable_pinning: bool,
pub manual_filtering: bool,
pub enable_filters: bool,
pub enable_column_filters: bool,
pub enable_global_filter: bool,
pub filter_from_leaf_rows: bool,
pub max_leaf_row_filter_depth: usize,
pub manual_sorting: bool,
pub manual_pagination: bool,
pub auto_reset_page_index: Option<bool>,
pub page_count: Option<i32>,
pub row_count: Option<usize>,
pub manual_expanding: bool,
pub enable_expanding: bool,
pub auto_reset_all: Option<bool>,
pub auto_reset_expanded: Option<bool>,
pub paginate_expanded_rows: bool,
pub keep_pinned_rows: bool,
pub enable_hiding: bool,
pub enable_column_ordering: bool,
pub enable_column_pinning: bool,
pub enable_row_pinning: bool,
pub enable_column_resizing: bool,
pub enable_grouping: bool,
pub enable_sorting: bool,
pub enable_multi_sort: bool,
pub max_multi_sort_col_count: Option<usize>,
pub enable_sorting_removal: bool,
pub enable_multi_remove: bool,
pub sort_desc_first: Option<bool>,
pub enable_row_selection: bool,
pub enable_multi_row_selection: bool,
pub enable_sub_row_selection: bool,
pub manual_grouping: bool,
pub grouped_column_mode: GroupedColumnMode,
pub column_resize_mode: ColumnResizeMode,
pub column_resize_direction: ColumnResizeDirection,
}Expand description
Headless table options (TanStack-aligned semantics, Rust-native API).
Fields§
§enable_pinning: boolEnables/disables pinning features globally (TanStack enablePinning).
manual_filtering: boolIf enabled, filtering is assumed to be done externally (e.g. server-side).
When true, filtered_row_model() returns pre_filtered_row_model().
enable_filters: boolEnables/disables all filtering features (TanStack enableFilters).
enable_column_filters: boolEnables/disables per-column filtering (TanStack enableColumnFilters).
enable_global_filter: boolEnables/disables global filtering (TanStack enableGlobalFilter).
filter_from_leaf_rows: boolFilter children first and bubble matches to parents (TanStack filterFromLeafRows).
max_leaf_row_filter_depth: usizeMaximum depth to apply leaf-row filtering recursion (TanStack maxLeafRowFilterDepth).
manual_sorting: boolIf enabled, sorting is assumed to be done externally (e.g. server-side).
When true, sorted_row_model() returns pre_sorted_row_model().
manual_pagination: boolIf enabled, pagination is assumed to be done externally (e.g. server-side).
When true, row_model() returns pre_pagination_row_model().
auto_reset_page_index: Option<bool>TanStack-aligned: pagination auto reset gate (autoResetPageIndex).
page_count: Option<i32>TanStack-aligned: total page count hint (pageCount).
When set to -1, the page count is treated as unknown.
row_count: Option<usize>TanStack-aligned: total row count hint (rowCount).
manual_expanding: boolIf enabled, expanded row handling is assumed to be done externally.
When true, expanded_row_model() returns pre_expanded_row_model().
enable_expanding: boolEnables/disables expanding for all rows (TanStack enableExpanding).
auto_reset_all: Option<bool>TanStack-aligned: global auto reset gate (autoResetAll).
auto_reset_expanded: Option<bool>TanStack-aligned: expanded auto reset gate (autoResetExpanded).
paginate_expanded_rows: boolWhen true, pagination counts expanded rows (children) as part of the page.
This mirrors TanStack’s paginateExpandedRows behavior.
keep_pinned_rows: boolIf true, pinned rows can remain visible even if they are outside the current
filtered/sorted/paginated row set (TanStack keepPinnedRows).
enable_hiding: boolWhether to allow column hiding at the table level (TanStack enableHiding).
enable_column_ordering: boolWhether to allow column ordering at the table level (TanStack enableColumnOrdering).
enable_column_pinning: boolWhether to allow column pinning at the table level (TanStack enableColumnPinning with
enablePinning fallback).
enable_row_pinning: boolWhether to allow row pinning at the table level (TanStack enableRowPinning).
enable_column_resizing: boolWhether to allow column resizing at the table level (TanStack enableColumnResizing).
enable_grouping: boolEnables/disables grouping for the table (TanStack enableGrouping).
enable_sorting: boolEnables/disables sorting for the table (TanStack enableSorting).
enable_multi_sort: boolEnables/disables multi-sort for the table (TanStack enableMultiSort).
max_multi_sort_col_count: Option<usize>Maximum number of columns that can be multi-sorted (TanStack maxMultiSortColCount).
enable_sorting_removal: boolEnables/disables the ability to remove sorting (TanStack enableSortingRemoval).
enable_multi_remove: boolEnables/disables the ability to remove multi-sorts (TanStack enableMultiRemove).
sort_desc_first: Option<bool>When set, all sort toggles default to descending as their first toggle state
(TanStack sortDescFirst).
enable_row_selection: boolEnables/disables row selection for the table (TanStack enableRowSelection).
enable_multi_row_selection: boolEnables/disables multi-row selection for the table (TanStack enableMultiRowSelection).
enable_sub_row_selection: boolEnables/disables sub-row selection propagation for the table (TanStack enableSubRowSelection).
manual_grouping: boolIf enabled, grouping is assumed to be done externally (e.g. server-side).
When true, grouped_row_model() returns pre_grouped_row_model().
grouped_column_mode: GroupedColumnModeDetermines how grouped columns are ordered in the leaf column list (TanStack
groupedColumnMode).
column_resize_mode: ColumnResizeModeDetermines when column_sizing updates during a resize interaction (TanStack
columnResizeMode).
column_resize_direction: ColumnResizeDirectionColumn resize direction for RTL layouts (TanStack columnResizeDirection).
Trait Implementations§
Source§impl Clone for TableOptions
impl Clone for TableOptions
Source§fn clone(&self) -> TableOptions
fn clone(&self) -> TableOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more