Projetos
Ver no GitHub
ggascoigne/react-table-example
Sobre
React-Table v7 with Typescript and Material-UI
Desenvolvimento web e de aplicativosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
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
Explore projetos relacionados
Carregando…