hi, i have used ancestry-tree view gem with ancestry. In my view i have used the root condition
if node.root?
to show the ree. it works good when i generate the tree in sequence. but when generate any leaf node of already generated parent node it always show its parents to last node. each generated leaf node is appended to last leaf node.
kindly help me how to fix this....
hi, i have used ancestry-tree view gem with ancestry. In my view i have used the root condition
if node.root?
to show the ree. it works good when i generate the tree in sequence. but when generate any leaf node of already generated parent node it always show its parents to last node. each generated leaf node is appended to last leaf node.
kindly help me how to fix this....