‎2010 May 11 11:22 AM
Hello!
I have a development that generates a SALV Tree Alv. I would like to be able to refresh the ALV and preserve the collaps and extend state of the nodes!
I tried to find a method that handles this for me, but with no success!
Then I tried to find a list of the expanded item or the information of the state of the node in the tree! The idea was to loop the new information of the database and add the old state to the new nodes!
Is it possible to reload the CL_SALV_TREE and preserve the collaps and extend state of the nodes?
Best Regards
‎2010 May 11 7:02 PM
As I can see, cl_salv_tree forgets what is expanded or collapsed, everything is handled at frontend (same "issue" as cl_gui_column_tree, the actual GUI control that cl_salv_tree uses). I guess you should handle the expand/collapse events yourself so that to be able to know which nodes are expanded/collapsed.
‎2010 May 11 7:02 PM
As I can see, cl_salv_tree forgets what is expanded or collapsed, everything is handled at frontend (same "issue" as cl_gui_column_tree, the actual GUI control that cl_salv_tree uses). I guess you should handle the expand/collapse events yourself so that to be able to know which nodes are expanded/collapsed.