Find Cp React Tree Table Examples and Templates
Use this online cp-react-tree-table playground to view and fork cp-react-tree-table example apps and templates on CodeSandbox. Click any example below to run it instantly or find templates that can be used as a pre-built solution!
Simple Array (forked)To bind the widget to an array that contains plain-structured data objects, do the following:
Assign the array to the dataSource option.
Specify the data fields that provide node keys in the keyExpr option and parent node keys in the parentIdExpr option.
Specify the root node's key in the rootValue option if it is not 0.
The widget builds a tree from plain data objects based on the specified options.