mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
useTableState was an early and hasty abstraction that hasn't proved useful in many ways. Anything you could do with useTableState, you could easily do using the same options (assuming they exist) in the useTable hook. For this reason, state is now a first class citizen of the useTable hook, along with more sane properties and option locations for anything pertaining to state.
4.4 KiB
4.4 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
- Column Resizing
- Complex
- The "Kitchen Sink"
- Controlled - These examples are more advanced because they demonstrate how to manually control and respond to the state of the table.
- 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!