Module table

Module table 

Source
Expand description

Table component aligned with Ant Design 6.0.

Features:

  • Custom column render functions
  • Row selection (checkbox column)
  • Sorting and filtering
  • Fixed header/columns via scroll
  • Pagination integration

Structs§

ColumnFilter
Filter item for column filters.
ExpandableConfig
Expandable row configuration.
RowSelection
Row selection configuration.
StickyConfig
Sticky configuration for table header.
SummaryConfig
Summary row configuration.
TableChangeEvent
Event payload for table changes (pagination, filters, sorter).
TableColumn
Column definition for the Table component.
TableLocale
Locale configuration for table text.
TablePaginationState
Pagination state in change event.
TableProps
Props for the Table component.
TableScroll
Scroll configuration for fixed header/columns.
TableSorterState
Sorter state in change event.

Enums§

ColumnAlign
Horizontal alignment for table cells.
ColumnFixed
Fixed position for a column.
SelectionType
Selection type for row selection.
SortOrder
Sort direction for a column.

Functions§

Table
Ant Design flavored Table.

Type Aliases§

ColumnFilterFn
Type alias for filter function. Takes (value, record) and returns whether to show the row.
ColumnRenderFn
Type alias for custom render function. Takes (value, record, index) and returns Element.
ColumnSorterFn
Type alias for sort compare function. Takes (a, b) and returns ordering.
RowClassNameFn
Type alias for row class name function: (record, index) -> Option
RowPropsFn
Type alias for row props function: (record, index) -> HashMap<String, String>