<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get selected node in tree control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-selected-node-in-tree-control/m-p/1533353#M243480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephen ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  please see the demo program "SIMPLE_TREE_CONTROL_DEMOCL1"  .this will definitely help you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Edit : There is also another program called "SAPCOLUMN_TREE_MODEL_DEMO" which uses similar method mentioned my you .&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Shounak M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Shounak  M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Aug 2006 09:42:21 GMT</pubDate>
    <dc:creator>former_member628175</dc:creator>
    <dc:date>2006-08-29T09:42:21Z</dc:date>
    <item>
      <title>How to get selected node in tree control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-selected-node-in-tree-control/m-p/1533352#M243479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details of tree control:-&lt;/P&gt;&lt;P&gt;Tree was created with cl_column_tree_model=&amp;gt;node_sel_mode_single.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the PAI logic I'm using &lt;/P&gt;&lt;P&gt;treemodel-&amp;gt;get_selected_node method. But its not returning any node niether is it giving any errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me why its happening. Or any other method that can be used to get the selected node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 09:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-selected-node-in-tree-control/m-p/1533352#M243479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-29T09:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get selected node in tree control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-selected-node-in-tree-control/m-p/1533353#M243480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephen ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  please see the demo program "SIMPLE_TREE_CONTROL_DEMOCL1"  .this will definitely help you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Edit : There is also another program called "SAPCOLUMN_TREE_MODEL_DEMO" which uses similar method mentioned my you .&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Shounak M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Shounak  M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 09:42:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-selected-node-in-tree-control/m-p/1533353#M243480</guid>
      <dc:creator>former_member628175</dc:creator>
      <dc:date>2006-08-29T09:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get selected node in tree control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-selected-node-in-tree-control/m-p/1533354#M243481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cl_gui_column_tree doesnt have a event for node single click. it has got event for double click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cl_gui_column_tree=&amp;gt;eventid_node_double_click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you still want single click&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can register the event&lt;/P&gt;&lt;P&gt;cl_gui_column_tree=&amp;gt;eventid_link_click and set the node item-calss as  link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 09:56:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-selected-node-in-tree-control/m-p/1533354#M243481</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-08-29T09:56:59Z</dc:date>
    </item>
  </channel>
</rss>

