Skip to content

Column Control

SeizenTable supports column visibility management and multi-column sorting through the ColumnControlPlugin from @izumisy/seizen-table-plugins.

Click the columns icon in the side panel to toggle column visibility and manage sorting.

Terminal window
npm install @izumisy/seizen-table-plugins
import { useSeizenTable, SeizenTable } from "@izumisy/seizen-table";
import { ColumnControlPlugin } from "@izumisy/seizen-table-plugins/column-control";
function MyTable() {
const table = useSeizenTable({
data,
columns,
plugins: [ColumnControlPlugin.configure({ width: 280 })],
});
return <SeizenTable table={table} />;
}
  • Toggle visibility - Show/hide columns with checkboxes
  • Search - Quickly find columns by name
  • Drag & drop - Reorder columns by dragging
  • Multi-column sorting - Sort by multiple columns with priority
  • Direction toggle - Switch between ascending/descending
  • Drag & drop - Change sort priority order

Right-click on a column header to access quick actions:

ActionDescription
Hide columnHide the clicked column
Sort ascendingSort by this column (A→Z, 1→9)
Sort descendingSort by this column (Z→A, 9→1)
Clear sortRemove sorting for this column
OptionTypeDefaultDescription
widthnumber280Width of the side panel