<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Get all row Ids in gridLayout</title><link>https://community.appian.com/discussions/f/general/24917/get-all-row-ids-in-gridlayout</link><description>Hello, 
 I&amp;#39;m trying to create a gridLayout component whose components can be hierarchically selected (this means, clicking on a specific row will also select all its subrows, and their respective subrows, all the way til the last hierarchy level). 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Get all row Ids in gridLayout</title><link>https://community.appian.com/thread/96499?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2022 11:54:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6a6c7465-29a6-43ba-b79b-f7ff53da85e1</guid><dc:creator>franciscoalfonson0001</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m writing this just to let you know that I ended up getting the job done (we&amp;#39;ll see about performance later).&lt;/p&gt;
&lt;p&gt;I combined my idea of&amp;nbsp;&lt;span&gt;&amp;quot;(Value in first key)-(Value in second key)-...&amp;quot; ids for the rows and the ideas &lt;a href="/members/harshj0001"&gt;harshjan&lt;/a&gt; and  gave me in order to create an expression rule that returned the correct ids (that I kinda&amp;nbsp;had to build up given the id structure I&amp;nbsp;built for the tree grid), and then apply that expression rule on the &amp;quot;saveSelectionTo&amp;quot; parameter in the grid component&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get all row Ids in gridLayout</title><link>https://community.appian.com/thread/96434?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2022 11:14:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:30c56b99-ad51-4bb6-a5e6-748e40a04484</guid><dc:creator>franciscoalfonson0001</dc:creator><description>&lt;p&gt;Specially considering that I&amp;#39;m not even using all the data I want it to work with. I&amp;#39;m doing it on the first 16000 rows of the data to test the waters (I have way more rows than 16000)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get all row Ids in gridLayout</title><link>https://community.appian.com/thread/96433?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2022 10:40:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fd05e521-9ca5-4afc-ac12-53975ab06552</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This seems to be a good approach.&lt;/p&gt;
&lt;p&gt;You will need to find out how the performance is to fetch the data you need. If this is not acceptable, you will need to find a way to improve it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get all row Ids in gridLayout</title><link>https://community.appian.com/thread/96432?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2022 09:46:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98c2a8a8-98b2-4fb7-bb40-96cf085205aa</guid><dc:creator>franciscoalfonson0001</dc:creator><description>&lt;p&gt;I made a test expression rule just for 1 item on the highest level. I guess a couple or ifs and foreachs would let me do it for the rest of elements (it would be slower). Is that what you&amp;nbsp;mean?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m now trying to implement the expression rule on the selectionValueSaveInto field (so it&amp;#39;s selectionValue:local!selected,&lt;/p&gt;
&lt;p&gt;selectionValueSaveInto:a!save(local!selected, rule(local!selected))&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get all row Ids in gridLayout</title><link>https://community.appian.com/thread/96431?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2022 09:37:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:64546de4-cb4b-44f4-9be3-fd4f67d4326d</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;So you got the logic working, but it is slow because of web service calls. Do you have a chance to query for multiple items in one call?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get all row Ids in gridLayout</title><link>https://community.appian.com/thread/96428?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2022 09:01:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:994f99f6-8881-4f7b-9e5f-dc1c214552b8</guid><dc:creator>franciscoalfonson0001</dc:creator><description>&lt;p&gt;Hello &lt;a href="/members/harshj0001"&gt;harshjan&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;That&amp;#39;s what I&amp;#39;m trying to do, but at the moment I can&amp;#39;t seem to make it effective in terms of performance (a lot of integration calls due to the data being external)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get all row Ids in gridLayout</title><link>https://community.appian.com/thread/96427?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2022 08:49:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:763aaf0c-2418-44f6-9eb9-c62e34eb1441</guid><dc:creator>harshjan</dc:creator><description>&lt;p&gt;Hello &lt;a href="/members/franciscoalfonson0001"&gt;franciscoalfonson0001&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;After selecting the particular Row, you can generate the index&amp;#39;s for the other rows which you want to be selected automatically.&lt;/p&gt;
&lt;p&gt;After generating the index, append it into the &amp;quot;selectionValue&amp;quot; of the grid and then automatically your row will selected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>