A favicon of tnks-data-table

tnks-data-table

Advanced data table for Shadcn/UI & TanStack Table. Features server-side ops, row selection, filtering, column customization, export, and full TypeScript support.

A screenshot of tnks-data-tableVisit

Advanced Data Table Component for Shadcn/UI and TanStack Table

This advanced data table component, built using Shadcn UI and TanStack Table (React Table v8), offers a highly configurable and feature-rich solution for enterprise-level applications. It's designed for complex data operations, emphasizing server-side processing for optimal performance and scalability. Developers benefit from its modular architecture, full TypeScript support, and comprehensive documentation, enabling easy integration and customization for specific project needs, including responsive design and theming with Tailwind CSS.

Features:

  • Server-side Pagination: Efficiently manages large datasets by loading data in segments from the server.
  • Server-side Sorting: Enables column-based data sorting, with logic executed on the server.
  • Server-side Filtering: Allows data filtering based on user-defined criteria, processed server-side for speed.
  • Row Selection: Supports selection of single or multiple rows for performing batch operations.
  • Column Resizing: Permits users to dynamically adjust the width of table columns.
  • Column Visibility Toggle: Allows end-users to customize their view by showing or hiding specific columns.
  • Date Range Filtering: Facilitates filtering records based on a specified period.
  • Search Functionality: Provides a comprehensive search capability across the table's data.
  • Customizable Toolbar: Offers a flexible toolbar area for placing action buttons, filters, and other custom elements.
  • Row Actions Menu: Includes a contextual menu for performing actions on individual data rows, such as editing or deleting.
  • Bulk Action Support: Enables operations on a group of selected rows, like mass deletion.
  • Data Export (CSV/Excel): Provides functionality to export the displayed table data into CSV or Excel file formats.
  • React Query Integration: Leverages React Query for optimized data fetching, caching, and state synchronization.
  • Zod Validation: Utilizes Zod for robust schema definition and data validation processes.
  • URL State Persistence: Maintains the table's current state (like filters, sorting, and pagination) within the URL, allowing for easy sharing and bookmarking.

Summary:

This component delivers a robust, server-integrated data table solution tailored for React applications utilizing Shadcn/UI and TanStack Table. It excels in handling substantial datasets through features like server-side pagination, sorting, filtering, versatile row selection, column customization, and data export capabilities. Being fully TypeScript compatible and extensively documented, it aims to improve the developer experience while providing performant, accessible, and responsive tables suitable for sophisticated enterprise demands.

Distribution:
opensource
GitHub:
87 Stars
6 Forks
Share:

 

  
 

Similar to tnks-data-table: