on 12-09-2008 1:17 PM
Hi All,
I'm using TreeByNestingTableColumn. My problem is when I select a leaf node from the tree in the table, I'm not able to get the value of the selected leaf node. I tried using a button in the adjacent column, and tried capturing, the UI returns the first value of the tree.
Any help in this regds will be highly appreciated.
Thankx and Regds in Advance.
Regds,
Sandboy
Which are you wanting - the LeadSelection or all selections. There are two different methods:
● Get all selected elements (including the lead selection)
selected_elements =
CL_WD_DYNAMIC_TOOL=>GET_TABLE_TREE_SELECTION(
DATA_SOURCE = context_node_of_the_data_source
).
● Get the lead selection only
lead_selection =
CL_WD_DYNAMIC_TOOL=>GET_TABLE_TREE_LEAD_SELECTION(
DATA_SOURCE = context_node_of_the_data_source
).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thankx Mr.Thomas !!
My requirement is :
If I click on the node (or adjacent button icon column) of the nested tree in Table UI, it should give me the value of the clicked node. By going thru the Lead selection root, I'm forced to click on the table row selector. If you can help.
Hope I'm putting across my point. Also, if you can elaborate a bit on the mentioned code.
Thankx in advance.
Regds
Sandboy
Mr.Thomas!!
If I go thru the Lead selection route,I'm able to get the node. But there is a small problem.
Say a Node has three Children. When I expand the node, the row selector points to the first child.But if I expand say the third child, the row selector still is pointing to the first child (default).
If you are aware of by any chance to get the lead selector (read table row pointer) point to the correct expanded child, my job will be done.
Thankx again in advance.
Regds,
Sandboy.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.