<?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>Drop down Pagination</title><link>https://community.appian.com/discussions/f/user-interface/31046/drop-down-pagination</link><description>is it possible to used a dropdown pagination in a read-only grid table(recordType)? please see the attached image for the sample output. thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Drop down Pagination</title><link>https://community.appian.com/thread/123723?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 07:14:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d61627a6-e9f8-4eff-902d-d4113fb09dac</guid><dc:creator>Rithani Vivekananthan</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;If you are trying to change the page, then you can refer the below code.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
 
  local!pagesizeSelected,
  local!data: a!queryRecordType(
    recordType: &amp;#39;recordType!{4c73e73b-59fc-4fc9-862b-db723c674daa}PA Country&amp;#39;,
    pagingInfo: a!pagingInfo(
      startIndex:if(
        a!isNotNullOrEmpty(local!pagesizeSelected),
        ((local!pagesizeSelected-1)*10)+1,
        1),
      batchSize:10
    )
  ).data,
  {
    a!dropdownField(
      placeholder: &amp;quot;select your page size&amp;quot;,
      choiceLabels: {1,2,3,4},
      choiceValues:{1,2,3,4},
      value: local!pagesizeSelected,
      saveInto: local!pagesizeSelected
    ),
    a!gridField(
      data: local!data,
      columns: {
        a!gridColumn(
          value: fv!row[&amp;#39;recordType!{4c73e73b-59fc-4fc9-862b-db723c674daa}PA Country.fields.{68a8fd97-10c2-4779-9088-c81daec9821d}id&amp;#39;]
        ),
        a!gridColumn(
          value: fv!row[&amp;#39;recordType!{4c73e73b-59fc-4fc9-862b-db723c674daa}PA Country.fields.{49a5bbd7-cffd-4981-9510-ffb2fb112cf2}name&amp;#39;]
        ),
        a!gridColumn(
          value: fv!row[&amp;#39;recordType!{4c73e73b-59fc-4fc9-862b-db723c674daa}PA Country.fields.{51134b0c-96aa-434b-8a8d-3d8c683d1ea6}group&amp;#39;]
        )
      },
      pageSize:length(local!data)
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Drop down Pagination</title><link>https://community.appian.com/thread/123716?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 06:19:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7fb24328-3970-4ac5-9d4a-9630780a6a1e</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You can refer this blog of mine to add paging to anything -&amp;nbsp;&lt;a href="https://appianspace.com/2023/06/26/adding-paging-to-almost-anything/"&gt;appianspace.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Drop down Pagination</title><link>https://community.appian.com/thread/123714?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 05:52:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:093ad216-708d-4fe1-ab35-4bc93db9dcc5</guid><dc:creator>Amaan Shekh</dc:creator><description>&lt;p&gt;yes it is possible to use a dropdown&amp;#39;s value to control grid&amp;#39;s paging, for refrence4 -&amp;gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!defaultPaging: 5,
  local!allowedPaging: { 5, 10, 15, 20 },
  local!data: {
    { id: 1, name: &amp;quot;aman&amp;quot; },
    { id: 2, name: &amp;quot;john&amp;quot; },
    { id: 3, name: &amp;quot;sara&amp;quot; },
    { id: 4, name: &amp;quot;alex&amp;quot; },
    { id: 5, name: &amp;quot;emma&amp;quot; },
    { id: 6, name: &amp;quot;david&amp;quot; },
    { id: 7, name: &amp;quot;lisa&amp;quot; },
    { id: 8, name: &amp;quot;michael&amp;quot; },
    { id: 9, name: &amp;quot;olivia&amp;quot; },
    { id: 10, name: &amp;quot;chris&amp;quot; },
    { id: 11, name: &amp;quot;jessica&amp;quot; },
    { id: 12, name: &amp;quot;ryan&amp;quot; },
    { id: 13, name: &amp;quot;emily&amp;quot; },
    { id: 14, name: &amp;quot;brandon&amp;quot; },
    { id: 15, name: &amp;quot;amy&amp;quot; },
    { id: 16, name: &amp;quot;peter&amp;quot; },
    { id: 17, name: &amp;quot;natalie&amp;quot; },
    { id: 18, name: &amp;quot;kevin&amp;quot; },
    { id: 19, name: &amp;quot;hannah&amp;quot; },
    { id: 20, name: &amp;quot;adam&amp;quot; }
  },
  {
    /*pagsize to be controlled */
    a!dropdownField(
      choiceLabels: local!allowedPaging,
      choiceValues: local!allowedPaging,
      label: &amp;quot;Page Size&amp;quot;,
      labelPosition: &amp;quot;ABOVE&amp;quot;,
      value: local!defaultPaging,
      saveInto: { local!defaultPaging },
      searchDisplay: &amp;quot;AUTO&amp;quot;,
      validations: {}
    ),
    a!gridField(
      label: &amp;quot;Read-only Grid&amp;quot;,
      labelPosition: &amp;quot;ABOVE&amp;quot;,
      data: local!data,
      columns: {
        a!gridColumn(label: &amp;quot;id&amp;quot;, value: fv!row.id),
        a!gridColumn(label: &amp;quot;name&amp;quot;, value: fv!row.name)
      },
      /*pagsize to be applied*/
      pageSize: local!defaultPaging,
      validations: {}
    )
  }
)&lt;/pre&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1704433944379v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Drop down Pagination</title><link>https://community.appian.com/thread/123712?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 04:22:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:55a242d3-92f5-4d4a-a9ff-614e9bfe11e6</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;No OOTB Function available for this as of now , But you can write your own logic to achieve this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/discussions/f/user-interface/27665/how-to-implement-page-option-drop-down"&gt;https://community.appian.com/discussions/f/user-interface/27665/how-to-implement-page-option-drop-down&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;refer to this It&amp;#39;s already answered recently&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>