Advanced Data Table

A powerful, accessible data table component with multi-column sorting, faceted filters, global search, row selection, bulk actions, expandable sub-rows, and pagination.

Component Registry

Filters:
Category:
Status:
AI ResponseNew
AI14,2803.4 KBNew
Advanced Data TableNew
Interactive18,9204.8 KBNew
ChatNew
AI12,4504.1 KBNew
AI Agent ActivityNew
AI9,8303.1 KBNew
Magnetic Button
Motion42,1001.8 KBStable
Showing 15 of 12 records
1/3

Installation

Add the component directly to your repository using shadcn CLI:

npx shadcn@latest add Surajmaurya1/easyui/advanced-data-table

API Reference

PropTypeDefaultDescription
dataT[][]Array of data records to render in the table
columnsColumnDef<T>[][]Column configuration defining headers, accessors, sorting, filtering, and custom cell renderers
titlestringundefinedOptional table title displayed in the toolbar
searchPlaceholderstring'Search records...'Placeholder text for the global search input
defaultPageSizenumber10Initial number of records to show per page
renderSubComponent(row: T) => ReactNodeundefinedRender prop function for expandable row sub-details
onBulkDelete(selectedIds: string[]) => voidundefinedCallback fired when user executes bulk deletion
onBulkExport(selectedIds: string[]) => voidundefinedCallback fired when user clicks bulk export
isLoadingbooleanfalseRenders animated skeleton placeholders when true
errorstring | nullnullRenders an error state banner when present
classNamestringundefinedCustom Tailwind class names for styling overrides