Skip to content

f-starace/Tailwind-Tanstack-Table

Repository files navigation

TTTable

A responsive, easily customizable Table based on Tanstack Table (Ract Table v8), Tailwind CSS and Typescript.

Note: This repo is a work in progress. An important update to increase customizability and flexibility should come by mid September

Todo:

  • Composable Table sub-components
  • Added context to avoid prop-drilling of table sub-components
  • Add custom classes and styles to table elements
  • Added striped, resizable, condensed, filterGlobal, filterColumns, pagination, striped, footer, verticalLines, bordered and sticky property to table props
  • Added column sorting
  • Memoize Table sub-components to avoid unnecessary re-renders
  • Add base defaultColumn if inputColumns schema is not defined
  • Make rows selectable and add onSelect prop and selectActions
  • Export table in csv and excel formats
  • Add unit-tests

Instruction:

  1. Clone the repo
  2. Install dependencies through
    • npm
      npm install
    • yarn
      yarn install

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages