Projets
Voir sur GitHub
ggascoigne/react-table-example
À propos
React-Table v7 with Typescript and Material-UI
Développement web et applicatifProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalReact Table Example
Demo of React Table V7 using TypeScript as well as Material UI
- Open this example in a new CodeSandbox
yarnandyarn startto run and edit the example
This example uses:
useGroupByto enable header groupsuseFiltersfor per-column filters. Note that filters are displayed in a separate filter dropdown rather than being embedded in each column header.useSortByfor column sortinguseExpandedto allow expansion of grouped columnsuseFlexLayoutfor a scalable full width tableusePaginationfor paginationuseResizeColumnsfor resizable columnsuseRowSelectfor row selection
Other features:
- Demonstrates hiding columns.
- use
react-json-viewto optionally display the table instance for better exploration. - use
useLocalStorageanduseDebounce, both from https://usehooks.com to persist table settings.
Inspiration
Several parts of this demo are pulled from examples that are available at https://github.com/tannerlinsley/react-table/tree/master/examples that are copyright Tanner Linsley
Explorer des projets similaires
Chargement…