<?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>Conditionally displaying data in grid</title><link>https://community.appian.com/discussions/f/user-interface/21136/conditionally-displaying-data-in-grid</link><description>Hi, 
 
 I have an interface with a section layout which displays a read-only grid using a!gridField_19r1(). The data is fetched from a DB view using a query rule and displayed in the grid columns. 
 
 My requirement is to conditionally display the data</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Conditionally displaying data in grid</title><link>https://community.appian.com/thread/82402?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 13:44:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:42a20fc0-c512-4fbd-89a8-2798b4dc4eaa</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You would need to remove the &amp;quot;_19r1&amp;quot; from the end of the a!gridField rule, then change some of the components.&amp;nbsp; The columns would need to be changed to use a!gridColumn() instead of a!gridTextColumn(), and these would get their data by directly referencing fv!row.&amp;nbsp; I recommend first making a copy of the code for the original grid and trying to changeover the copy.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditionally displaying data in grid</title><link>https://community.appian.com/thread/82398?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 09:59:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c355e433-4e87-4cda-b5ed-d5895fe545fb</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Which version of Appian? Did you check the docs?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/21.2/SAIL_Recipes.html"&gt;https://docs.appian.com/suite/help/21.2/SAIL_Recipes.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Did you already try/test something? What went wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditionally displaying data in grid</title><link>https://community.appian.com/thread/82397?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 09:53:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd190d7b-ff11-44a1-9a9c-b1d978344c8d</guid><dc:creator>apoorvam</dc:creator><description>&lt;p&gt;Hi, thank you. Can you please give me an example on how to do that?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditionally displaying data in grid</title><link>https://community.appian.com/thread/82372?ContentTypeID=1</link><pubDate>Sat, 05 Jun 2021 15:40:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84256e4f-a468-44b1-b3cd-d49956f64d87</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I strongly recommend you to upgrade this grid to use the 19.2+ version of a!gridField() - this upgraded version makes it substantially easier to do row-by-row conditionality like what you&amp;#39;re saying you need.&amp;nbsp; In the deprecated version you&amp;#39;re using, it requires looping over the data subset and doing your conditionality within the loops, which is doable but cumbersome and far more easily prone to errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditionally displaying data in grid</title><link>https://community.appian.com/thread/82370?ContentTypeID=1</link><pubDate>Sat, 05 Jun 2021 14:54:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99beb9b9-a9c8-4e85-9c31-9d1dba79b34d</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;a href="https://codeblog.jonskeet.uk/2012/11/24/stack-overflow-question-checklist/"&gt;https://codeblog.jonskeet.uk/2012/11/24/stack-overflow-question-checklist/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Would you please explain what the question is, what did you try and what failed. Code snippets, screen shots.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>