2006 Oct 16 8:58 AM
I'm extending ALV Tree, which dinamicaly build it own structure. I'm trying ti find function/property which can change view of my leaf, precise:
when we have leaf with no subleaf when this leaf is shown with special icon (looking like notepad icon),
when we have leaf with subleafs then it is shown with folder icon.
I want to change some leafs which should be loocing like leafs with folder icon, beacause in future, some data for this leafs will be read and some subleafs will appear (this reading will be performed, when user click on this leaf and will try to expand it).
For any help I reward in points
2006 Oct 16 9:10 AM
Hi Tomasz
If you are using, CL_GUI_ALV_TREE, there is an exporting parameter: IT_ITEM_LAYOUT of structure: LVC_S_LAYI.
Within this structure, a field called: T_IMAGE exists. If we pass the icon code here, the icon can be displayed.
Please check for the same.
Also please check programs of pattern: BCALVTREE
Kind Regards
Eswar
Message was edited by: Eswar Rao Boddeti
I'm extending ALV Tree, which dinamicaly build it own structure. I'm trying ti find function/property which can change view of my leaf, precise:
when we have leaf with no subleaf when this leaf is shown with special icon (looking like notepad icon),
when we have leaf with subleafs then it is shown with folder icon.
I want to change some leafs which should be loocing like leafs with folder icon, beacause in future, some data for this leafs will be read and some subleafs will appear (this reading will be performed, when user click on this leaf and will try to expand it).
For any help I reward in points
2006 Oct 16 9:10 AM
Hi Tomasz
If you are using, CL_GUI_ALV_TREE, there is an exporting parameter: IT_ITEM_LAYOUT of structure: LVC_S_LAYI.
Within this structure, a field called: T_IMAGE exists. If we pass the icon code here, the icon can be displayed.
Please check for the same.
Also please check programs of pattern: BCALVTREE
Kind Regards
Eswar
Message was edited by: Eswar Rao Boddeti
2006 Oct 16 9:20 AM
It wasn't exactly what I was looking for, but it helps me to find: IS_NODE_LAYOUT property in function add_node which has property expander and n_image.
And this property I was looking for.
2006 Oct 16 9:27 AM
Oh, so you mean you were looking for EXPAND_NODE function.
Glad, atleast could help in leading you.
Kind Regards
Eswar
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |