You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[This is copied from my StackOverflow question since I think this issue might be about more than just me not knowing how to use fancytree]
I have two fancytree tables, and I can drag a node from one tree to the other. Once I drag the node I dynamically add a set number of children to the dragged node, which all have input fields in the next column, rendered via renderColumn.
The problem I'm facing is that the columns are not showing in my HTML until I manually expand the dragged node, and I need to validate the input fields associated to the children.
I tried iterating node by node and forcing each to render individually:
but to no avail... Is there a way to force these nodes to render? Am I doing something wrong?
Currently I am manually calling setExpanded(true) followed by setExpanded(false) to force rendering, but this is causing performance issues.
EDIT: I have created a jsfiddle showcasing the issue.
Notice that when you drag a node from tree1 to tree2 3 children are created for each "final" folder, however, were I to submit my form without first expanding the folders, there would be no rendered <input> tags to validate. You can verify this by looking at the HTML by pressing F12.
The text was updated successfully, but these errors were encountered:
Just to add, the same issue affects cases in which I copy and paste a node. Even when the copied node has been rendered, the pasted node does not get rendered.
[This is copied from my StackOverflow question since I think this issue might be about more than just me not knowing how to use fancytree]
I have two fancytree tables, and I can drag a node from one tree to the other. Once I drag the node I dynamically add a set number of children to the dragged node, which all have input fields in the next column, rendered via
renderColumn
.The problem I'm facing is that the columns are not showing in my HTML until I manually expand the dragged node, and I need to validate the input fields associated to the children.
I tried iterating node by node and forcing each to render individually:
but to no avail... Is there a way to force these nodes to render? Am I doing something wrong?
Currently I am manually calling
setExpanded(true)
followed bysetExpanded(false)
to force rendering, but this is causing performance issues.EDIT: I have created a jsfiddle showcasing the issue.
Notice that when you drag a node from
tree1
totree2
3 children are created for each "final" folder, however, were I to submit my form without first expanding the folders, there would be no rendered<input>
tags to validate. You can verify this by looking at the HTML by pressing F12.The text was updated successfully, but these errors were encountered: