-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(DataTable): add custom state manager example #6801
docs(DataTable): add custom state manager example #6801
Conversation
thanks @asudoh for the suggestion and example |
c1002e9
to
d758cd0
Compare
Deploy preview for carbon-elements ready! Built with commit c1002e9 |
Deploy preview for carbon-components-react ready! Built with commit c1002e9 https://deploy-preview-6801--carbon-components-react.netlify.app |
Deploy preview for carbon-elements ready! Built with commit 63b7814 |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit 63b7814 https://deploy-preview-6801--carbon-components-react.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Awesome example to have
@emyarod this is awessome!! looks good to me |
This PR adds a Code Sandbox example for implementing a data table with a custom state manager. This will help answer the extremely common questions about the limitations of the Carbon
<DataTable>
's state manager. In case Carbon<DataTable>
does not meet the needs of a BU/application, PALs/applications can create a custom state manager of their own with this example as a reference. This example covers selection, sorting, pagination, filtering and batch actions.Changelog
New