Skip to content
LoidoltTheme 0.11.1
Svelte 5

Component

DataTableColumnVisibility

A menu that shows and hides a data table's columns.

import { DataTableColumnVisibility } from '@loidolt/theme-svelte';

Example

Cut sheets
StockStatusLayers
Bracket 1Birch plyReady1
Coaster 1Mount boardIn review8
Sign 1CorkReady4
Enclosure 1AcrylicBlocked11
Panel 1Birch plyReady7

1–5 of 42

Notes

  • Columns with hideable: false are left out of the menu.

Props

Generated from the component source, so it cannot drift from the implementation.

DataTableColumnVisibility props
PropTypeDefaultNotes
table required DataTableState<T>—
class string—
label string'Columns'Trigger text.
resetLabel string'Show all'