mar10/fancytree — pull request #166 by Koloto (2014-03-24 15:53:21+00:00)
Title: table-ext: an error when trying to make visible not rendered node

I have a tree with the table extension. I call `makeVisible()` method for the node which isn't rendered yet, and its parent node isn't rendered too. The following error occurs:

Error: Assertion failed
at Function.jQuery.extend.error (http://localhost:8080/lib/jquery.js:552:9)
at _assert (http://localhost:8080/src/jquery.fancytree.table.js:26:5)
at findPrevRowNode (http://localhost:8080/src/jquery.fancytree.table.js:58:3)
at Object.$.ui.fancytree.registerExtension.nodeRender (http://localhost:8080/src/jquery.fancytree.table.js:170:16)
at Object.nodeRender (http://localhost:8080/src/jquery.fancytree.js:110:22)
at Object.Fancytree._callHook (http://localhost:8080/src/jquery.fancytree.js:1707:13)
at _afterLoad (http://localhost:8080/src/jquery.fancytree.js:3046:9)
at Object.$.extend.nodeSetExpanded (http://localhost:8080/src/jquery.fancytree.js:3110:4)
at Object._makeVirtualFunction._super (http://localhost:8080/src/jquery.fancytree.js:100:21)
at Object.$.ui.fancytree.registerExtension.nodeSetExpanded

`makeVisible()` internally calls `setExpanded` which calls `nodeRender()` in its turn. The last method expects that upper nodes are already rendered. But they aren't because `makeVisible()` expands nodes from bottom to up.