-
Notifications
You must be signed in to change notification settings - Fork 83
docs(data-table): add variations to codesandbox example #925
docs(data-table): add variations to codesandbox example #925
Conversation
Deploy preview created for Built with commit: 5973bd1c1723477e7f4f3cf7e8f5648370601aeb |
Deploy preview created for Built with commit: 5973bd1c1723477e7f4f3cf7e8f5648370601aeb |
Deploy preview created for Built with commit: 5973bd1c1723477e7f4f3cf7e8f5648370601aeb |
Deploy preview created for Built with commit: 5973bd1c1723477e7f4f3cf7e8f5648370601aeb |
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! so much easier to understand now
examples/codesandbox/basic/components/data-table/sortable-table.js
Outdated
Show resolved
Hide resolved
@@ -73,7 +73,7 @@ import 'carbon-web-components/es/components/data-table/index.js'; | |||
|
|||
Adding `selection-name` attribute to `<bx-table-row>`/`<bx-table-header-row>` shows the selection UI in the table row. | |||
|
|||
When user attempts to change row selection, the following events fire: | |||
The logic of row selection needs to be handled on by the application code. When user attempts to change row selection, the following events fire: |
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.
Wondering if we want to reiterate here that they can see an example of this in our codesandbox?
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.
I'll open up a ticket to capture the row selection codesandbox example
…e.js Co-authored-by: Ariella Gilmore <ariellalgilmore@gmail.com>
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.
LGTM!
Related Ticket(s)
bx-table sort functionality not working #916
Description
This PR is to add a couple data-table examples to the codesandbox. The
data-table
logic (sorting/searching/selecting) has to be handled by the application side. These examples are to help adopters hopefully quickly set up the basic functionalities.Changelog
New
Changed