Skip to content
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

Merged

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Sep 9, 2020

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

  • Code Sandbox example of a Carbon data table component with custom state manager

@emyarod
Copy link
Member Author

emyarod commented Sep 9, 2020

thanks @asudoh for the suggestion and example

@netlify
Copy link

netlify bot commented Sep 9, 2020

Deploy preview for carbon-elements ready!

Built with commit c1002e9

https://deploy-preview-6801--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Sep 9, 2020

Deploy preview for carbon-components-react ready!

Built with commit c1002e9

https://deploy-preview-6801--carbon-components-react.netlify.app

@netlify
Copy link

netlify bot commented Sep 9, 2020

Deploy preview for carbon-elements ready!

Built with commit 63b7814

https://deploy-preview-6801--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Sep 9, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 63b7814

https://deploy-preview-6801--carbon-components-react.netlify.app

Copy link
Collaborator

@tw15egan tw15egan left a 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

@andreancardona
Copy link
Contributor

@emyarod this is awessome!! looks good to me

@kodiakhq kodiakhq bot merged commit 8d7b90b into carbon-design-system:master Sep 10, 2020
@emyarod emyarod deleted the custom-data-table-example branch September 11, 2020 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants