<?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>Collapse/expand the rows inside a grid based on column</title><link>https://community.appian.com/discussions/f/user-interface/18909/collapse-expand-the-rows-inside-a-grid-based-on-column</link><description>Hi Everyone, 
 I am having a requirements can anyone tell me whether it is possible or not. 
 I am having a paging grid of 10 columns in that grid I need to group by 3 columns (manager , order type , symbol) 
 Here order by means for example if I am having</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Collapse/expand the rows inside a grid based on column</title><link>https://community.appian.com/thread/74445?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 13:15:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:32e30361-5e28-443e-bd8c-aca0ea90ed35</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;Define a local variable that shows all the contents of the highest level grid (managers and tasks, in your case).&amp;nbsp; Next define another local variable for a selected manager, a boolean flag for when manager is selected, another local variable that if a manager is selected stores the contents of the filtered grid.&amp;nbsp; Finally, a local variable that stores the grid for display.&amp;nbsp; About all of these will have to be set up with a!refreshVariables.&lt;/p&gt;
&lt;p&gt;The local variable that stores the grid for display is defined as: if ( managerSelected, local!filteredGrid, local!highLevelGrid)&lt;/p&gt;
&lt;p&gt;When the user clicks on a manager, the local variable definition of filtered grid will most likely have to fire off a helper rule you write to create the additional rows to display for that manager.&amp;nbsp; You might consider the type() function in a a!forEach loop to make them, and then the insert() function to place the new rows into the exact position under the selected manager.&lt;/p&gt;
&lt;p&gt;You also need to think of how to de-select a manager, and then likely reset local!filteredGrid to null or empty list.&amp;nbsp; Or maybe you don&amp;#39;t need to, and you can simply overwrite it when you make a new one selecting a new manager.&lt;/p&gt;
&lt;p&gt;This is all super, super high level, but you can design with what you have on hand to do what you want.&amp;nbsp; This is going to be something like a minor Epic for your team, so take your time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A bare bones, nothing mock-up as part of a SPIKE might be your best first run at this. I&amp;#39;m talking dummy data {&amp;quot;A&amp;quot;,&amp;quot;B&amp;quot;,&amp;quot;C&amp;quot;} that can get &amp;quot;Apple&amp;quot;, &amp;quot;Asparagus&amp;quot;, &amp;quot;Aligator&amp;quot; to display when you click &amp;quot;A&amp;quot;.&amp;nbsp; Then, if you can get &amp;quot;Carrot&amp;quot;, &amp;quot;Camel&amp;quot;, &amp;quot;Crocodile&amp;quot; to display when you click &amp;quot;C&amp;quot; instead, you&amp;#39;ve made it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>