<?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>Header Cells in the Editable grid</title><link>https://community.appian.com/discussions/f/user-interface/11334/header-cells-in-the-editable-grid</link><description>I have question, 
 Can we hide the header cells in the editable grids which are empty?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Header Cells in the Editable grid</title><link>https://community.appian.com/thread/59938?ContentTypeID=1</link><pubDate>Tue, 04 Sep 2018 11:57:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:25b30b4f-cd29-45b8-9c23-0cc8839693cf</guid><dc:creator>yamunar0001</dc:creator><description>Hi Santosh,&lt;br /&gt;
&lt;br /&gt;
The below code may help for you.&lt;br /&gt;
&lt;br /&gt;
 load(&lt;br /&gt;
   local!isShowWhen:true(),&lt;br /&gt;
   a!gridLayout(&lt;br /&gt;
        label: &amp;quot;&amp;quot;,&lt;br /&gt;
        emptyGridMessage: &amp;quot;No Records Available&amp;quot;,&lt;br /&gt;
        columnConfigs: {&lt;br /&gt;
          a!gridLayoutColumnConfig(&lt;br /&gt;
            width: &amp;quot;DISTRIBUTE&amp;quot;,&lt;br /&gt;
            weight: &amp;quot;1&amp;quot;&lt;br /&gt;
          ),&lt;br /&gt;
          a!gridLayoutColumnConfig(&lt;br /&gt;
            width: &amp;quot;DISTRIBUTE&amp;quot;,&lt;br /&gt;
            weight: &amp;quot;1&amp;quot;&lt;br /&gt;
          ),&lt;br /&gt;
          a!gridLayoutColumnConfig(&lt;br /&gt;
            width: &amp;quot;DISTRIBUTE&amp;quot;,&lt;br /&gt;
            weight: &amp;quot;2&amp;quot;&lt;br /&gt;
          ),&lt;br /&gt;
          a!gridLayoutColumnConfig(&lt;br /&gt;
            width: &amp;quot;DISTRIBUTE&amp;quot;,&lt;br /&gt;
            weight: &amp;quot;2&amp;quot;&lt;br /&gt;
          )&lt;br /&gt;
        },&lt;br /&gt;
        headerCells: {&lt;br /&gt;
          a!gridLayoutHeaderCell(&lt;br /&gt;
            label: &amp;quot;Process/Module&amp;quot;,&lt;br /&gt;
            align: &amp;quot;LEFT&amp;quot;&lt;br /&gt;
          ),&lt;br /&gt;
          a!gridLayoutHeaderCell(&lt;br /&gt;
            label: &amp;quot;Topic&amp;quot;,&lt;br /&gt;
            align: &amp;quot;LEFT&amp;quot;&lt;br /&gt;
          ),&lt;br /&gt;
          a!gridLayoutHeaderCell(&lt;br /&gt;
            label: &amp;quot;Responsible&amp;quot;,&lt;br /&gt;
            align: &amp;quot;LEFT&amp;quot;&lt;br /&gt;
          ),&lt;br /&gt;
          a!gridLayoutHeaderCell(&lt;br /&gt;
            label: &amp;quot;Representative&amp;quot;,&lt;br /&gt;
            align: &amp;quot;LEFT&amp;quot;&lt;br /&gt;
          ),&lt;br /&gt;
           a!gridLayoutHeaderCell(&lt;br /&gt;
            label: &amp;quot;Decision&amp;quot;,&lt;br /&gt;
            align: &amp;quot;LEFT&amp;quot;,&lt;br /&gt;
            showWhen:not(local!isShowWhen)&lt;br /&gt;
          ),&lt;br /&gt;
          a!gridLayoutHeaderCell(&lt;br /&gt;
            label: &amp;quot;ReportType&amp;quot;,&lt;br /&gt;
            align: &amp;quot;LEFT&amp;quot;,&lt;br /&gt;
            showWhen: not(local!isShowWhen)&lt;br /&gt;
          )&lt;br /&gt;
        }&lt;br /&gt;
       )&lt;br /&gt;
      )&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Header Cells in the Editable grid</title><link>https://community.appian.com/thread/59360?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 19:47:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f01ec38-3b8b-401b-a7ff-901df8744007</guid><dc:creator>Vincent Mark</dc:creator><description>&lt;p&gt;Header cells cannot be null, however their labels&amp;nbsp;CAN be&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!gridLayout(
    headerCells: {
        a!gridLayoutHeaderCell(),
        a!gridLayoutHeaderCell(),
        a!gridLayoutHeaderCell()
    }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Header Cells in the Editable grid</title><link>https://community.appian.com/thread/49893?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 17:12:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c82142c7-56e1-4ef1-8548-518dde7e4c88</guid><dc:creator>ankita0004</dc:creator><description>Yes we can hide the header cell of editable grid using showWhen parameter of a!gridLayoutHeaderCell but you have to put same condition on its column content.&lt;br /&gt;
&lt;br /&gt;
I think in your case you want to hide the header cell of a grid which have empty column data so you can put same condition on those.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Header Cells in the Editable grid</title><link>https://community.appian.com/thread/49870?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 08:20:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:93023dab-e30c-46d1-9215-7665322fa19e</guid><dc:creator>annap</dc:creator><description>Yes you can do this by showWhen parameter of gridLayoutHeaderCell but the same time you have to use this for  perticular content in gridRowLayout.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Header Cells in the Editable grid</title><link>https://community.appian.com/thread/49866?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 02:32:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:999617e4-783b-45a0-b049-428dc68b904f</guid><dc:creator>manikandanp13</dc:creator><description>Santosh - It seems you can use emptyGridMessage - Text to display in the grid when no data is available. Default is &amp;quot;No items available&amp;quot;. [or] showWhen - Determines whether the component is displayed on the interface. When set to false, the component is hidden and is not evaluated. Default: true.&lt;br /&gt;
Please refer more details at link: &lt;a href="https://docs.appian.com/suite/help/17.3/Editable_Grid_Component.html"&gt;docs.appian.com/.../Editable_Grid_Component.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>