Replies: 1 comment
-
Rows can be preselected by adding carbon/packages/react/src/components/DataTable/DataTable.js Lines 97 to 110 in 19fea2e |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to pre select first two rows and show batch actions only when at least 2 rows are selected as soon as table loads?
Once the table loads, users can change the selection and select any other rows.
I have made a codesandbox with the user selection, but how to preselect the first two rows and show batch actions on load?
https://codesandbox.io/s/magical-farrell-uyc8ek?file=/index.js
Beta Was this translation helpful? Give feedback.
All reactions