Announcements
Hello,
I have a form wich uses a a tree (class HierarchyTree). Is there any way to reload the tree when i modify some elements? For example: moving some elements to one subgroup to another group.
I tried to "F5" and executeQuery all the datasources but the element doesnt dissapear from the tree. I have to close the form and open it again. Furthormere, in this form i have an action panel whith "create" and "delete" options which realoads the tree properly but i can't acces to the methods, so, I am not entirely sure what does Ax internally to fully reload the tree without closing the form.
Regards.
Hi Eisenberk,
Try to override the "selectionChanged method of tree control. On overriding you will get the new item and old item on super call.
On the class HierarchyTree" there is a method "selectionChanged. Try to call that method using new item and old item and see whether it works.
Thanks,
Girish S.
André Arnaud de Cal...
294,081
Super User 2025 Season 1
Martin Dráb
232,860
Most Valuable Professional
nmaenpaa
101,158
Moderator