Mathias Nilsson

Results 14 comments of Mathias Nilsson

In the lazy loading exampel issue you pretty much have it all there. Tiny changes to make this happen.

On initial load is solved via lazy loading. I don't think @wangzuo has added this feature but still it works. I'm using it myself.

More than 10.000 nodes ( Not for every user. Some has just 100 ). All won't expand every time a user works in the tree.

Let's say I want to move a node with many children to another nodes child. I need to expand the node on hover and then fetch data from server. And...

@wangzuo Proposing to add lazy boolean to the tree. If the tree is lazy then we should check index.hasChildren and not just index.children && index.children.length. An onBeforeOpenNode event should be...

Something like this so far. This will enable lazyloading per node. modules ``` js { module: 'test', leaf: false, hasChildren: true, collapsed: true, lazy: true } ``` react-ui-tree.js ``` js...

@wangzuo I didn't commit this yet but accepted the pull request from @tobyndockerill because there is still a problem to solve. When clicking the expand arrow multiple times we should...

The best suggestion so far is to lock click on the arrow and show a svg spinner instead of the arrow. Is this a good solution? @wangzuo @tobyndockerill

@wangzuo Is it possible to allow not to render the root node itself?

@icodeforyou @wangzuo I've implemented code to enable the root node to not be rendered. shouldRenderRootNode can be passed as prop to tree and default is true. Want a pull request...