Versions in this module Expand all Collapse all v0 v0.12.4 Nov 22, 2025 v0.12.3 Nov 18, 2025 v0.12.2 Nov 5, 2025 Changes in this version + func MakeTableComponent[T any](componentName string) vdom.Component[TableProps[T]] + type CellContext struct + ColIdx int + Column string + Data T + RowIdx int + Value any + type HeaderContext struct + Column string + IsSorted bool + SortDirection string + type PaginationConfig struct + CurrentPage int + PageSize int + ShowSizes []int + type RowContext struct + Data T + RowIdx int + type TableColumn struct + AccessorFn func(rowCtx RowContext[T]) any + AccessorKey string + CellClassName string + CellRender func(ctx CellContext[T]) any + Header string + HeaderClassName string + HeaderRender func(ctx HeaderContext) any + Sortable bool + Width string + type TableProps struct + Columns []TableColumn[T] + Data []T + DefaultSort string + OnRowClick func(row T, idx int) + OnSelectionChange func(selectedRows []int) + OnSort func(column string, direction string) + Pagination *PaginationConfig + RowClassName func(ctx RowContext[T]) string + RowRender func(ctx RowContext[T]) any + Selectable bool + SelectedRows []int