<?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: Fetch multiple selected rows from grid table  (more than 10 selected rows) in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/fetch-multiple-selected-rows-from-grid-table-more-than-10-selected-rows/qaa-p/442524#M64103</link>
    <description>&lt;P&gt;Hi Akhilesh,&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply.&lt;/P&gt;&lt;P&gt;I used getContextByIndex() method as you suggested and just a little modification gave me the desired output. &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/28997-reply.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This didn't work for me though.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--&amp;gt; var value = sBindingPath.getObject().property (property is your bound property for your column)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Kalpesh.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2017 05:27:26 GMT</pubDate>
    <dc:creator>kalpeshsb</dc:creator>
    <dc:date>2017-04-06T05:27:26Z</dc:date>
    <item>
      <title>Fetch multiple selected rows from grid table  (more than 10 selected rows)</title>
      <link>https://community.sap.com/t5/technology-q-a/fetch-multiple-selected-rows-from-grid-table-more-than-10-selected-rows/qaq-p/442522</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I am trying to fetch selected multiple rows from a grid table into another table or a JSON array/object on a submit button press. I could do it successfully by using Run time JSON model. But the issue is, I can do it for only 10 selected rows (maybe because getRows() method returns an array of size 10). While doing it for the 11th row,  I get following error.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/28709-err.png" /&gt;&lt;/P&gt;&lt;P&gt;My button press event is as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/28710-press-evt.png" /&gt;&lt;/P&gt;&lt;P&gt;My objective is to fetch more than 10 selected rows. Please suggest another way.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kalpesh&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 05:57:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fetch-multiple-selected-rows-from-grid-table-more-than-10-selected-rows/qaq-p/442522</guid>
      <dc:creator>kalpeshsb</dc:creator>
      <dc:date>2017-04-05T05:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch multiple selected rows from grid table  (more than 10 selected rows)</title>
      <link>https://community.sap.com/t5/technology-q-a/fetch-multiple-selected-rows-from-grid-table-more-than-10-selected-rows/qaa-p/442523#M64102</link>
      <description>&lt;P&gt;getRows() will return 10 rows only, I am not sure this a bug, but you can use below code to resolved your issue.&lt;/P&gt;&lt;P&gt;arr = selected indices&lt;/P&gt;&lt;P&gt;in for loop,&lt;/P&gt;&lt;P&gt;var sBindingPath = oTable.getContextByIndex(arr[i]);&lt;/P&gt;&lt;P&gt;var value = sBindingPath.getObject().&lt;STRONG&gt;property &lt;/STRONG&gt;(property is your bound property for your column)&lt;/P&gt;&lt;P&gt;Hope this help you.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 09:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fetch-multiple-selected-rows-from-grid-table-more-than-10-selected-rows/qaa-p/442523#M64102</guid>
      <dc:creator>former_member227918</dc:creator>
      <dc:date>2017-04-05T09:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch multiple selected rows from grid table  (more than 10 selected rows)</title>
      <link>https://community.sap.com/t5/technology-q-a/fetch-multiple-selected-rows-from-grid-table-more-than-10-selected-rows/qaa-p/442524#M64103</link>
      <description>&lt;P&gt;Hi Akhilesh,&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply.&lt;/P&gt;&lt;P&gt;I used getContextByIndex() method as you suggested and just a little modification gave me the desired output. &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/28997-reply.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This didn't work for me though.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--&amp;gt; var value = sBindingPath.getObject().property (property is your bound property for your column)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Kalpesh.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 05:27:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fetch-multiple-selected-rows-from-grid-table-more-than-10-selected-rows/qaa-p/442524#M64103</guid>
      <dc:creator>kalpeshsb</dc:creator>
      <dc:date>2017-04-06T05:27:26Z</dc:date>
    </item>
  </channel>
</rss>

