<?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>how we can apply pagination on grid layout</title><link>https://community.appian.com/discussions/f/user-interface/13431/how-we-can-apply-pagination-on-grid-layout</link><description>i wanted to apply pagination on grid layout, can we do that?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: how we can apply pagination on grid layout</title><link>https://community.appian.com/thread/60920?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 18:34:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ead0099-a5a4-4f3c-b0bc-a10a30a9c0c4</guid><dc:creator>stevens812</dc:creator><description>Would it be possible to put the data into a local variable then have the link append onto that in the event something was added? I believe this would work under within the context of a with.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how we can apply pagination on grid layout</title><link>https://community.appian.com/thread/60820?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 12:04:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f401e169-2e2b-4f94-9cdd-87720ff10326</guid><dc:creator>Vinay Kumar Rai</dc:creator><description>Lokesh, please share you code&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how we can apply pagination on grid layout</title><link>https://community.appian.com/thread/60818?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 10:59:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6340b37a-8ed3-48e0-8bbf-6801cb19a9af</guid><dc:creator>Lokesh Kothari</dc:creator><description>&lt;a href="/members/vinayr"&gt;Vinay Kumar Rai&lt;/a&gt;- i am doing the same, i am appending the values, but this all needs to performed under saveInto , so that&amp;#39;s the real problem, and we are using dynamic link to perform add new row, as per appian sample example.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how we can apply pagination on grid layout</title><link>https://community.appian.com/thread/60817?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 10:49:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:adba5431-829a-4eeb-b64b-91b5f490271f</guid><dc:creator>Vinay Kumar Rai</dc:creator><description>&lt;p&gt;Hi Lokesh,&lt;/p&gt;
&lt;p&gt;You should append the data on your actual variable (ri) not in datasubset&lt;/p&gt;
&lt;p&gt;todatasubset(&lt;span style="background-color:#ffcc00;"&gt;ri!Alldata&lt;/span&gt;,local!pagingInfo),&lt;/p&gt;
&lt;p&gt;on the Add Link : append(&lt;span style="background-color:#ffcc00;"&gt;ri!Alldata&lt;/span&gt;,save!value)&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how we can apply pagination on grid layout</title><link>https://community.appian.com/thread/60816?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 09:32:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:337e0dfb-2c3b-4b01-9eed-8454626765bd</guid><dc:creator>Lokesh Kothari</dc:creator><description>the logic works fine in normal scenario, but there is one problem, here, once you want to add a new dynamic row, then it fails as we are adding the new row data to the data-subset and data-subset is defined in with() (to refresh the data on change of pagination), so it fails as variable under with() cant be saved.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how we can apply pagination on grid layout</title><link>https://community.appian.com/thread/60815?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 08:52:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ce9a4fc-9112-446f-b173-b4e60a5b2ec9</guid><dc:creator>Shanmukha</dc:creator><description>Hi Lokesh,&lt;br /&gt;
&lt;br /&gt;
As others suggested. There is no pagination available for grid layout. We had this requirement for one of our customer long back so we have manually implemented the pagination for grid layout using buttons.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how we can apply pagination on grid layout</title><link>https://community.appian.com/thread/60814?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 07:34:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2aeca98-04e8-4e81-9385-2d4993d13a51</guid><dc:creator>deviratnamv</dc:creator><description>Hi Lokesh,&lt;br /&gt;
 Yes, We can apply pagination in paging grid layout and we can&amp;#39;t apply pagination on editable grid layout. might be helpful below link ....&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/18.3/Paging_Grid_Component.html"&gt;docs.appian.com/.../Paging_Grid_Component.html&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/18.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><item><title>RE: how we can apply pagination on grid layout</title><link>https://community.appian.com/thread/60813?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 07:25:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:599603f4-6bcf-4788-b479-3afc9146571a</guid><dc:creator>Shiva Valusa</dc:creator><description>Hi,&lt;br /&gt;
&lt;br /&gt;
There is no option for pagination in Editable grid. As a work around You can try above mentioned approach as Swpanac said. &lt;br /&gt;
Or use following SAIL recipe which will do inline editing on a read only paging grid if inline editing of data is mandatory for your requirement.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://forum.appian.com/suite/help/16.1/SAIL_Recipes.html#Use_Links_in_a_Grid_to_Show_More_Details_and_Edit_Data"&gt;forum.appian.com/.../SAIL_Recipes.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how we can apply pagination on grid layout</title><link>https://community.appian.com/thread/60812?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 07:25:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3e54979a-cd8a-4f0b-9387-c45c74e8373d</guid><dc:creator>simples533</dc:creator><description>Hi Lokesh, &lt;br /&gt;
&lt;br /&gt;
Grid Layout don&amp;#39;t allow to add pagingInfo in it but there is a workaround for it. &lt;br /&gt;
You can user richtextfileds and dynamical links to achieve this. &lt;br /&gt;
&lt;br /&gt;
Please go through below code, add this after your gridLayout Code. &lt;br /&gt;
&lt;br /&gt;
a!richTextDisplayField(&lt;br /&gt;
    value: {&lt;br /&gt;
      a!richTextItem_18r1(&lt;br /&gt;
        text: &amp;quot;&amp;lt;&amp;quot;,&lt;br /&gt;
        link: a!dynamicLink(&lt;br /&gt;
          saveInto: {&lt;br /&gt;
            a!save(&lt;br /&gt;
              ri!pagingInfo.startIndex,&lt;br /&gt;
               ri!pagingInfo.startIndex-ri!pagingInfo.batchSize)&lt;br /&gt;
           &lt;br /&gt;
          }&lt;br /&gt;
        ),&lt;br /&gt;
        showWhen: not(&lt;br /&gt;
          ri!pagingInfo.startIndex &amp;lt;= 1&lt;br /&gt;
        )&lt;br /&gt;
      ),&lt;br /&gt;
      &amp;quot; &amp;quot;,&lt;br /&gt;
      if(&lt;br /&gt;
        ri!data.totalCount &amp;gt; 0,&lt;br /&gt;
        {&lt;br /&gt;
          ri!pagingInfo.startIndex,&lt;br /&gt;
          &amp;quot; - &amp;quot;&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;&amp;quot;&lt;br /&gt;
      ),&lt;br /&gt;
      if(&lt;br /&gt;
        ri!pagingInfo.startIndex + ri!pagingInfo.batchSize - 1 &amp;gt; ri!data.totalCount,&lt;br /&gt;
        ri!data.totalCount,&lt;br /&gt;
        ri!pagingInfo.startIndex + ri!pagingInfo.batchSize - 1&lt;br /&gt;
      ),&lt;br /&gt;
      if(&lt;br /&gt;
        ri!data.totalCount &amp;gt; 0,&lt;br /&gt;
        &amp;quot; of &amp;quot;,&lt;br /&gt;
        &amp;quot;&amp;quot;&lt;br /&gt;
      ),&lt;br /&gt;
      ri!data.totalCount,&lt;br /&gt;
      if(&lt;br /&gt;
        ri!data.totalCount &amp;gt; 0,&lt;br /&gt;
        &amp;quot; items &amp;quot;,&lt;br /&gt;
        &amp;quot;&amp;quot;&lt;br /&gt;
      ),&lt;br /&gt;
      a!richTextItem_18r1(&lt;br /&gt;
        text: &amp;quot;&amp;gt;&amp;quot;,&lt;br /&gt;
        link: a!dynamicLink(&lt;br /&gt;
          saveInto: {&lt;br /&gt;
            a!save(&lt;br /&gt;
              ri!pagingInfo.startIndex,&lt;br /&gt;
              ri!pagingInfo.startIndex + ri!pagingInfo.batchSize&lt;br /&gt;
            )&lt;br /&gt;
          }&lt;br /&gt;
        ),&lt;br /&gt;
        showWhen: (&lt;br /&gt;
          ri!data.totalCount &amp;gt;= ri!pagingInfo.startIndex + ri!pagingInfo.batchSize&lt;br /&gt;
        )&lt;br /&gt;
      )&lt;br /&gt;
    },&lt;br /&gt;
    align: &amp;quot;RIGHT&amp;quot;&lt;br /&gt;
  )&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how we can apply pagination on grid layout</title><link>https://community.appian.com/thread/60810?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 07:09:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:862b9934-d3f4-4b63-83e2-7676567494d8</guid><dc:creator>Swapna Chella</dc:creator><description>Hi Lokesh,&lt;br /&gt;
&lt;br /&gt;
AFAIK, We can&amp;#39;t apply pagination on grid layout like grid field, but you can  try having 2 buttons for back and forth  and construct stored procedure  with start index, batch size and on clicks you  can send pagination to SP fetch the data.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Swapna Chella&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>