Sha256: 3891cac342739e82532db8585de0d59b5567c8308c56e8a61fa41539a99ff0ca

Contents?: true

Size: 569 Bytes

Versions: 2

Compression:

Stored size: 569 Bytes

Contents

`selectableRows` is a boolean prop that if present will add checkboxes to all rows that will allow for selecting rows. 

When a parent row is clicked, it will check all nested children rows, Children rows can be manually checked or unchecked as well. 

The `onRowSelectionChange` prop returns an array of ids of all Rows that have been selected. Open the console on this example and check and uncheck checkboxes to see this is action! __NOTE__: Each object within the `tableData`Array must contain a unique id in order to attach an id to all Rows for this to function. 

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.md
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.md