Skip to Content
0
Former Member
Aug 29, 2006 at 09:35 AM

How to get selected node in tree control

687 Views

Hi All,

I have used cl_column_tree_model for displaying data. When user selects a node (by clicking once on it) I wanted to get the selected node by user on the click of a button.

Details of tree control:-

Tree was created with cl_column_tree_model=>node_sel_mode_single.

Now in the PAI logic I'm using

treemodel->get_selected_node method. But its not returning any node niether is it giving any errors.

Can anyone tell me why its happening. Or any other method that can be used to get the selected node.

Thanks,

Stephen