react-table-library icon indicating copy to clipboard operation
react-table-library copied to clipboard

Use arbitrary tree child node key name

Open jimjoes opened this issue 3 years ago • 0 comments

As far as I can tell, a tree data object must use the convention that child nodes are all in the nodes key. My API uses a different key. It would be great to be able to be able to a) specify a child/parent relationship for a flat list and have the library assemble the tree according to arbitrary id/parentId fields and/or b) specify an arbitrary key for node children in a nested tree.

jimjoes avatar Nov 30 '22 07:11 jimjoes