Sha256: c066b4d7aad3d31af403a457b37653e0bd5ba29da7ba6a085656420880807b42

Contents?: true

Size: 668 Bytes

Versions: 1142

Compression:

Stored size: 668 Bytes

Contents

The Tanstack table consumes the useReactTable hook to create the table. This hook takes an object that can contain any of the functions that the Tanstack table provides. The advancedTable's optional `tableOptions` can be used to pass tanstack options to the kit. 

In the above example, we are using the initialState option provided by tanstack that takes sort as one of it's values. Setting it to true for the first column is reversing the sort order on first render of the table. For a complete list of possible options and how to use them, see [here](https://tanstack.com/table/v8/docs/api/core/table#usereacttable--createsolidtable--usevuetable--createsveltetable)

Version data entries

1,142 entries across 1,142 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md