mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
Width options (`width`, `minWidth`, `maxWidth`) options are now a part of the core column object. useBlockLayout and useAbsoluteLayout hooks now use this new internalized information to implement their layouts. Those examples have been updated. A virtualized-rows example has also been added to show off how the useBlockLayout hook can be used to virtualize rows with react-window.
4.3 KiB
4.3 KiB
Examples
- Simple - All of these examples use automatic state management, meaning, they don't hoist any state out of the table or manually control anything. Start here for understanding the basics about how to build your table UI.
- Basic
- Sorting
- Filtering
- Grouping
- Pagination
- Row Selection
- Expanding
- Sub Components
- Editable Data
- Column Ordering
- Complex
- The "Kitchen Sink"
- Controlled via
useTableState- These examples are more advanced because they demonstrate how to manually control and respond to the state of the table using theuseTableStatehook.- Pagination (Controlled)
- UI & Rendering - These examples demonstrate how to use React Table with your favorite UI libraries or tools!
- Virtualized Rows (React-Window)
- Animated (Framer-Motion)
- Material-UI
- Styled-Components
- CSS
- Bootstrap
- Want to write one of these examples or add another? Submit a PR!