Skip to content

Commit

Permalink
Update playbook/app/pb_kits/playbook/pb_advanced_table/docs/_advanced…
Browse files Browse the repository at this point in the history
…_table_beta_subrow_headers.md

Co-authored-by: Jasper Furniss  <[email protected]>
  • Loading branch information
nidaqg and jasperfurniss authored Jan 7, 2025
1 parent 851b764 commit 6b6144f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
`subrow_headers` is an optional prop that if present will add header rows at each level of the nested data. The prop takes an array of strings, each string being the text for each header row. The array of strings must be in the order in which they need to be rendered in the UI according to depth.

`enable_toggle_expansion` is an additional optional prop that can be used in conjunction with the subRowHeaders prop. `enable_toggle_expansion` is a string that can be "all", "header" or "none". If set to "all", the toggle expansion button will appear in the table header as well as in the subRow headers. If set to "header" button will only appear in header and NOT in subRow headers. This is set to "header" by default.
`enable_toggle_expansion` is an additional optional prop that can be used in conjunction with the subRowHeaders prop. `enable_toggle_expansion` is a string that can be "all", "header" or "none". If set to "all", the toggle expansion button will appear in the table header as well as in the subRow headers. If set to "header", the button will only appear in header and NOT in subRow headers. This prop is set to "header" by default.

0 comments on commit 6b6144f

Please sign in to comment.