<?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>GridField total count not showing below 5</title><link>https://community.appian.com/discussions/f/general/10574/gridfield-total-count-not-showing-below-5</link><description>Hi All, 
 Thanks in advance 
 gridField total count is not showing up if the list count is less than 5 ? Is it a default behaviour or can be configured? 
 Thanks 
 Rajesh</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: GridField total count not showing below 5</title><link>https://community.appian.com/thread/66762?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 14:51:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:18c1691a-342b-44a3-8a54-40630611b798</guid><dc:creator>Fatjon Kerxhaliu</dc:creator><description>&lt;p&gt;Hello Manisht,&lt;/p&gt;
&lt;p&gt;I am trying to hide the total count from the paging grid. I need to create an interface where space is very limited so I need to hide total count from the bottom of every page grid. How can I do that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GridField total count not showing below 5</title><link>https://community.appian.com/thread/46145?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2017 03:37:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49b80253-51f1-4bb6-9285-6194be68b147</guid><dc:creator>manisht209</dc:creator><description>&lt;p&gt;Hi Rajesh,&lt;/p&gt;
&lt;p&gt;The total count and pagination is only shown when your batchSize for the pagingInfo is smaller than the data which grid is showing (totalCount).&lt;/p&gt;
&lt;p&gt;If you want to display this you can create a common section consisting of the if - block below, and use it below the grids where you might need this.&lt;/p&gt;
&lt;p&gt;This will render a section below the grid when above condition is not true comprising of images (for navigation) and &amp;nbsp;totalCount. Similar to what is rendered in the pagination for grid&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;load(
  local!paginginfo: a!pagingInfo(
    startIndex: 1,
    batchSize: 6,
    sort: {}
  ),
  local!dataToDisplay: todatasubset(
    updatearray(
      {},
      5,
      0
    )
  ),
  {
    if(
      and(
        local!pagingInfo.batchSize &amp;lt; local!dataToDisplay.totalCount,
        local!pagingInfo.batchSize &amp;lt;&amp;gt; - 1
      ),
      {},
      a!richTextDisplayField(
        value: {
          a!richTextImage(
            a!webImage(
              source: &amp;quot;/suite/components/img/firstpage_disabled.gif&amp;quot;
            )
          ),
          a!richTextImage(
            a!webImage(
              source: &amp;quot;/suite/components/img/prev_disabled.gif&amp;quot;
            )
          ),
          a!richTextItem(
            text: local!pagingInfo.startIndex &amp;amp; &amp;quot; - &amp;quot; &amp;amp; local!dataToDisplay.totalCount &amp;amp; &amp;quot; of &amp;quot; &amp;amp; local!dataToDisplay.totalCount &amp;amp; &amp;quot; &amp;quot;
          ),
          a!richTextImage(
            a!webImage(
              source: &amp;quot;/suite/components/img/next_disabled.gif&amp;quot;
            )
          ),
          a!richTextImage(
            a!webImage(
              source: &amp;quot;/suite/components/img/lastpage_disabled.gif&amp;quot;
            )
          )
        }
      )
    )
  }
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can test this an interface for different scenarios by changing your local!paginginfo.batchSize&lt;/p&gt;
&lt;p&gt;Remember, this might be an overhead and you can avoid it if it is not a must to do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GridField total count not showing below 5</title><link>https://community.appian.com/thread/46144?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2017 01:57:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:82183b55-aa5c-446f-9094-3f94b01eeb1b</guid><dc:creator>venkateshs329</dc:creator><description>Hi Rajesh ,&lt;br /&gt;
You mean to say grid below pagination labels or index(local!dataSubset,&amp;quot;totalCount&amp;quot;,null) value&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GridField total count not showing below 5</title><link>https://community.appian.com/thread/46141?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 23:49:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:577b6cef-c5f2-47df-b694-96fd35c546d7</guid><dc:creator>Shashank</dc:creator><description>Hi rajesh ,&lt;br /&gt;
&lt;br /&gt;
AFAIK it is not configurable to show the count of items in a gridField/gridLayout if your data is &amp;lt;5&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Shashank&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>