when form is loaded everythings is redered fine. But when I check form’s “elements” using $$(“formName”).elements, I don’t see any of the tree controls in there. All other controls except tree are present in “elements”.
Is it something that I am doing wrong. Please guide.
Now I have tree controls in elements collection. Will OnChange event for fire for tree control on form?
Also, how can I get label for tree? Currently I am using cols that contains a label and tree. Is there any other way or do I have to write a custom tree control to get a label for tree?
Thanks Maksim. Could you please answer following question as well:
Also, how can I get label for tree? Currently I am using 2 cols (one label view and another for tree view) that contains a label and tree. Is there any other way or do I have to write a custom tree control to get a label for tree? If possible kindly provide a sample.
In some cases my tree doesn’t have a top level root node (i.e. node will level = 0 is not present at all). Is there a way to figure that out?
In some cases my tree doesn’t have a top level root node (i.e. node will level = 0 is not present at all). Is there a way to figure that out? Data bound to tree is something like below:
I want to give this x height. All the nodes should be visible on load without scroll bar.
Another tree on the same form has root node, and this has to be collapsed on load. Height for this is y (where y < x). Only root node should be visible on load. On expand and collapse I am handling height.
I have written a generic code for tree config and I want the height of the tree should be set dynamically based on whether tree has a top level root node or not.