Proyek
Lihat di GitHub
ggascoigne/react-table-example
Tentang
React-Table v7 with Typescript and Material-UI
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliReact 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
Jelajahi proyek terkait
Memuat…