08-20-2004 3:32 PM
Is CL_GUI_COLUMN_TREE editable?
How do I make the columns modifiable?
Regards,
Michael Pang
08-20-2004 10:32 PM
Hi Michael,
Sorry because I have seen this post after replying your previous post. I think "CL_GUI_COLUMN_TREE" has no capability of being editable. I say this because it calls events of its superclass "CL_ITEM_TREE_CONTROL" where there are no events for editing (e.g controlling data change). However, you have the opportunity to put buttons, checkboxes, and links on the tree.
You may redesign your screen as to scroll at ALV Grid (using the methods I told at your previos post) when an event on the tree (then I think you can use any of tree classes which suits best to your requirement) is triggered. Or you may update nodes and items with respect to the data entered via another modal screen and then rebuild your column tree.
There is a method "item_set_editable" of column tree class but it seems to be not the one you want.
You may give a look to the demo program <b>"SAPCOLUMN_TREE_CONTROL_DEMO"</b> for further inspection.
*--Serdar
04-16-2007 11:02 AM
Hi Serdar,
Can u please give me a sample code to use checkboxes in the tree using this class.
Please help me out in this regard.
Thanks & Regards
Santhosh
03-13-2020 5:52 AM