<?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>hi all,  is there a way to prevent a grid from showing a default empty row</title><link>https://community.appian.com/discussions/f/user-interface/1148/hi-all-is-there-a-way-to-prevent-a-grid-from-showing-a-default-empty-row</link><description>hi all, is there a way to prevent a grid from showing a default empty row ? i did some test. this will occur when the grid includes a true/false column or dropdown column(these fields are all not required). however if you set null as default value to</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: hi all,  is there a way to prevent a grid from showing a default empty row</title><link>https://community.appian.com/thread/140316?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 09:59:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8067db98-cc0f-44f0-b4d7-4d9e1e02c0ba</guid><dc:creator>Fernando Briones</dc:creator><description>&lt;p&gt;Exactly, I am experiencing this problem.&lt;br /&gt; &lt;br /&gt;The source of my grid is a dataSubset. The parameter data is empty (it is a dictionary of 0 items {}), but the totalCount is &amp;gt; 0 (because if it is 0 it displays the error &amp;quot;&lt;span&gt; A null parameter has been passed.&amp;quot;).&lt;/span&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;An empty row is displayed, but I would really like to have no rows at all and just the emptyGridMessage displayed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Did you manage to find the way? I can only think that I should have 2 different grids, and display one or another depending if the data is null or not...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hi all,  is there a way to prevent a grid from showing a default empty row</title><link>https://community.appian.com/thread/107242?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 12:40:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:133981b2-14bf-4e23-b91d-b8a7bddc9a7a</guid><dc:creator>Akash T</dc:creator><description>&lt;p&gt;I have faced a similar issue where the data for the Grid was a rule which returns a data subset. I was facing a empty row is being displayed even if there is no data. The data in the data subset is literally null() and it does not have any value. The Grid is showing a empty row is because of the total count it received form the data subset. In my case the totalCount returned was 1. So, the grid displayed a row as the totalCount received from the rule was 1. So, the conclusion is whenever a grid shows a empty value even if there is no default value&amp;nbsp;then the issue is with the totalCount.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hi all, &lt;br /&gt;is there a way to prevent a grid from showing a default empty row</title><link>https://community.appian.com/thread/3977?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2013 09:28:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:27cac600-520f-4209-997f-10a3d8273011</guid><dc:creator>eaglez</dc:creator><description>hi srinivasan, i tried it again today.&lt;br /&gt;i found:&lt;br /&gt;in my poc model i set null as default value for boolean input, default empty row disappears.&lt;br /&gt;but in my project model it did not.&lt;br /&gt;and when i created a empty boolean process variable and used it instead of null,&lt;br /&gt;it worked again.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hi all, &lt;br /&gt;is there a way to prevent a grid from showing a default empty row</title><link>https://community.appian.com/thread/3960?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2013 13:33:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bf0e782e-602a-4178-8130-9591daeb825c</guid><dc:creator>eaglez</dc:creator><description>thanks , i&amp;#39;ll try again tomorrow.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hi all, &lt;br /&gt;is there a way to prevent a grid from showing a default empty row</title><link>https://community.appian.com/thread/3959?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2013 13:21:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:80655f7c-abf6-49ba-b8c7-6dcb4e9e06bb</guid><dc:creator>Sathya Srinivasan</dc:creator><description>The grids will be blank as long as none of the values that you set as &amp;#39;default value&amp;#39; for the columns are all null.  It seems that one of your array values is not blank.  This is possible if you&amp;#39;ve set a default value at the Process Variables level or during any of the expression.  The best way to test this is to check the values in a running instances using in flight monitoring.  This will tell you what data is causing the issue.  &lt;br /&gt; The reason for your row is the TRUE FALSE field.  Having a value of &amp;#39;False&amp;#39; indicates to the grid to display the corresponding &amp;#39;cell&amp;#39; with the value of false (unchecked).  Try setting the default value of this pv to null and it should get rid of your row.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>