Locospec

Data Table

Introduction to Lens Data table.

📊 Datatable

The Datatable component is a flexible, highly extensible table built on top of TanStack Table. It’s deeply integrated with the View and LensProvider layers, and supports a wide range of features like:

  • Server-side data fetching
  • Search and filter support
  • Row actions and bulk actions
  • Custom styling
  • Context-aware selection handling

Under the hood, the root component is a wrapper around DatatableList, which is provided the full configuration and interaction layer via DataTableLensContextProvider. This enables it to be declarative, modular, and deeply integrated with the lens view context.

On this page