LyteNyte Grid logo for light mode. Links back to the documentation home page.
Components

Column Manager

Use an opinionated Column Manager component to handle column visibility and ordering.

Use the ColumnManager component to provide a UI for managing grid columns. ColumnManager handles the common boilerplate for showing, hiding, and reordering columns.

Column Manager Implementation

The demo below shows the Column Manager. Click a checkbox to toggle a column’s visibility, or drag a column within the manager to reorder it.

Column Manager

Fork code on stack blitzFork code on code sandbox

As shown in the demo code, configuring the Column Manager is straightforward. It abstracts the complexity of column state management into a single, easy-to-use component.

<ColumnManager columns={columns} onColumnsChange={setColumns} />

Note

For a less opinionated approach, use the Pill Manager or Tree View. Both are headless and allow flexible configuration.

Properties

Prop

Next Steps

  • Pill Manager: Create and manage grid interactions using label pills.
  • Tree View: Render and interact with hierarchical data using the Tree View component.
  • Menu Button: Display a list of actions or options in an accessible dropdown menu.