<?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>Question Re: react to a line-selection on a table-view in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaa-p/1061053#M423341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias, if you want to use eventing between iviews you can see this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c4/f47b40f7edd662e10000000a155106/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c4/f47b40f7edd662e10000000a155106/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is not necessary in this case:&lt;/P&gt;&lt;P&gt;You can connect your table with other data object and then with a second table or form to display the detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can found examples of this is:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/1a/55a340fa432b54e10000000a1550b0/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/1a/55a340fa432b54e10000000a1550b0/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2005 14:49:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-20T14:49:46Z</dc:date>
    <item>
      <title>react to a line-selection on a table-view</title>
      <link>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaq-p/1061050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I show some data on a table-view and i want to show detail-information in another table-view when a user selects a row of my table-view. How can i get that done?&lt;/P&gt;&lt;P&gt;Is there an event to catch? How can i realize that?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 14:26:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaq-p/1061050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T14:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: react to a line-selection on a table-view</title>
      <link>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaa-p/1061051#M423339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The tableView control has an event "onRowSelection"&lt;/P&gt;&lt;P&gt;event:&lt;/P&gt;&lt;P&gt;"Defines the event handling method that will be processed when the user clicks on the radiobutton button in the first column. The radiobutton is visible when the 'selectionMode' is set to "SINGLESELECT". The method com.sap.htmlb.event.TableSelectionEvent.getRowIndex() can be used to retrieve the index of the row that initiated the event"&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import com.sap.htmlb.enum.TableSelectionMode;.
.

/* Get the tableView component */

TableView table = (TableView) this.getComponentByName("myTableView");

/* Set the onHeaderClick event
table.setSelectionMode(TableSelectionMode.SINGLESELECT);
table.setOnRowSelection("onRowSelClick");
.
.

/*  the method onRowSelClick has to be declared in the DynPage. Otherwise an
    exception is thrown ("method not found") when the user clicks on the
    radio button of the tableView.

    Declaring onHeaderClick:
       public void onRowSelClick(Event event)  {           
 System.out.println("Row selection click");      
}

*/&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Sorry, I did not see at first that your question aimed at the Visual Composer. I don't know the VC - so no idea if this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Francisco Villar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 14:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaa-p/1061051#M423339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T14:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: react to a line-selection on a table-view</title>
      <link>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaa-p/1061052#M423340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Visual Composer you have the 'SELECT' event defined on a table. This event will be raised when the user selects a row in a table. You can connect the table to a data source input and use the row values as an input to the data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Lior&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 14:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaa-p/1061052#M423340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T14:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: react to a line-selection on a table-view</title>
      <link>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaa-p/1061053#M423341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias, if you want to use eventing between iviews you can see this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c4/f47b40f7edd662e10000000a155106/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c4/f47b40f7edd662e10000000a155106/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is not necessary in this case:&lt;/P&gt;&lt;P&gt;You can connect your table with other data object and then with a second table or form to display the detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can found examples of this is:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/1a/55a340fa432b54e10000000a1550b0/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/1a/55a340fa432b54e10000000a1550b0/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 14:49:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaa-p/1061053#M423341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T14:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: react to a line-selection on a table-view</title>
      <link>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaa-p/1061054#M423342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you very much. but i still have a problem. the detailed data is displayed when i start the application. but when i chose a line the detail-information does not update! Could that be a problem with the intern table my data source has as output-parameter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 15:14:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaa-p/1061054#M423342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T15:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: react to a line-selection on a table-view</title>
      <link>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaa-p/1061055#M423343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using BI_Java_Connectors, You need to use the "BI Query Wizard"&lt;/P&gt;&lt;P&gt;if you Drag &amp;amp; Drop the Data Object the select work fine but you can't connect it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 15:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/react-to-a-line-selection-on-a-table-view/qaa-p/1061055#M423343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T15:22:10Z</dc:date>
    </item>
  </channel>
</rss>

