mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
* size-snapshot created? * Added docz for documentation site * Modified .gitignore to get rid of .docz internal stuff * Update all doc links to point to proper paths with docz * Removed .docz folder from Git Co-authored-by: Jason Clark <jason.clark@tcnbroadcasting.com>
24 lines
1.1 KiB
Plaintext
24 lines
1.1 KiB
Plaintext
---
|
|
name: Controlled
|
|
route: /examples/controlled
|
|
menu: Examples
|
|
---
|
|
|
|
# Controlled
|
|
|
|
These examples are more advanced because they demonstrate how to manually control and respond to the state of the table.
|
|
|
|
## Pagination (Controlled)
|
|
|
|
- [Source](https://github.com/tannerlinsley/react-table/tree/master/examples/pagination-controlled)
|
|
- [Open in CodeSandbox](https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/pagination-controlled)
|
|
<iframe
|
|
src="https://codesandbox.io/embed/github/tannerlinsley/react-table/tree/master/examples/pagination-controlled?autoresize=1&fontsize=14&module=%2Fsrc%2FApp.js&theme=dark"
|
|
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
|
|
title="tannerlinsley/react-table: pagination-controlled"
|
|
allow="geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb"
|
|
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
|
|
></iframe>
|
|
|
|
* Want to add another example? [Submit a PR!](https://github.com/tannerlinsley/react-table/compare)
|