‎2006 Dec 08 12:04 PM
Hi,
How to refresh tree control. I have one REFRESH_TABLE_DISPLAY which is a private method. I need to refresh this tree which I have shown to the customer. How to use this method or any other alternative is available.
Thanks
Regards,
Satya
‎2006 Dec 08 12:12 PM
Hi
There's several methods like ADD_NODE, CHANGE_ITEM, CHANGE_NODE....
Max
‎2006 Dec 08 12:12 PM
Hi
There's several methods like ADD_NODE, CHANGE_ITEM, CHANGE_NODE....
Max
‎2006 Dec 09 3:19 PM
Hello Naga
If you look at class <b>CL_GUI_ALV_TREE</b> it has a method <b>FRONTEND_UPDATE</b> to send changed/inserted nodes to the frontend control. This method should be called at PAI to refresh the tree display.
Regards
Uwe
‎2006 Dec 11 5:25 PM
Hi,
You must call the method DELETE_ALL_NODES and rebuild the nodes with ADD_NODE.
And at last you must call the method frontend_update, and flush to refresh the screen.
CALL METHOD g_tree->delete_all_nodes.
LOOP...
CALL METHOD g_tree->ADD_NODE.....
ENDLOOP.
CALL METHOD g_tree->frontend_update.
CALL METHOD cl_gui_cfw=>flush.
Regards,
Bertrand.
‎2006 Dec 11 5:37 PM
In class CL_GUI_ALV_TREE, there is a methodFRONTEND_UPDATE to send nodes to frontend control. This method needs to be called in PAI to refresh the tree display.