list-to-tree
list-to-tree copied to clipboard
Convert list to tree
List to Tree doesn't work when key_id and key_parent is string.
```js var list = [ { id: 1, // parent: 0 // this is not necessary any more }, { id: 2, parent: 1 }] // ... ```
Is there a way of removing duplicate children?
Hi, This library works well with my list except that it rearrange some records with negative IDs and puts them at the beginning instead of their normal location. Is there...
https://github.com/DenQ/list-to-tree/blob/06f51966783687eff82645b96de136a6a8bd2853/dist/list-to-tree.js#L39 I have a need to generate a tree from a collection (array of objects). But my paths are nested - eg: ``` { id: 100, field: 'val', // ......
I am facing some issues while parsing the tree; where in the big tree it does not parse the node appropriately. but When I test with only that specific sub...
Sometime, we need an `order_key` to sort the tree. Could we add this feature?