on 2005 Nov 28 9:56 PM
hi,
i am working in CL_GUI_COLUMN_TREE class.Now i want to handle check box in it.that is each row in tree contains check box and there are button each for selecting all check box and as well as deselect all.
how to set default value to check box in the column tree control,i.e.which varible holds the values in this check box.so that i shall check or uncheck the check box based on my requirement.
thanks in advance
When you build the nodes of the tree if you mark the item where you want a check box as
" Item is a checkbox
ITEM-CLASS = CL_GUI_COLUMN_TREE=>ITEM_CLASS_CHECKBOX.
By doing so you are making the attribute of the item to be a checkbox.
then it will show a check box in your tree.
Also check the example SAPCOLUMN_TREE_CONTROL_DEMO this has a checkbox in the tree and it explains how to handle the events of a check box also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.