<?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>Custom paging issue</title><link>https://community.appian.com/discussions/f/integrations/33945/custom-paging-issue</link><description>I have use case in which we show custom pagination issue is their we have used custom pagination and dropdown on 10,20,50,100 
 when I am moving my pagination to last page and with 10 have drop down value it is working fine giving exact deifference that</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Custom paging issue</title><link>https://community.appian.com/thread/128858?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2024 06:58:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f41f2f1-9294-4f05-8acb-527dd018e544</guid><dc:creator>prakhar2511</dc:creator><description>&lt;p&gt;&lt;a href="/members/harshitb6843"&gt;Harshit Bumb (Appyzie)&lt;/a&gt;&amp;nbsp; Thanks this one worked fine just one issue I think that I can solve by myself but it worked according to my use case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom paging issue</title><link>https://community.appian.com/thread/128857?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2024 06:45:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0cd555ad-20e5-47cd-9cda-96231147f4c4</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Try this. It is an early version. Could have some edge cases..&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!selected: 7,
  local!totalCount: 340,
  local!startIndex: 325,
  local!mod: mod(local!totalCount,local!selected),
  if(
    local!totalCount-local!startIndex&amp;gt;=local!selected,
    local!startIndex+local!selected,
    local!totalCount-local!mod
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom paging issue</title><link>https://community.appian.com/thread/128856?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2024 06:40:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8885e996-c40f-4139-96a9-c2bbb28fde12</guid><dc:creator>prakhar2511</dc:creator><description>&lt;p&gt;But definitely logically you are correct .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom paging issue</title><link>https://community.appian.com/thread/128855?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2024 06:39:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e85a7bb0-941f-4b5b-840b-b538e002566d</guid><dc:creator>prakhar2511</dc:creator><description>&lt;p&gt;But according to my current use case they are fine with it as a user&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom paging issue</title><link>https://community.appian.com/thread/128854?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2024 06:35:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:185d2970-a782-43fb-b2bf-021fd2db1cbd</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;See that is the problem. You need to show 100 records from where the person is already, which is the start index. So if you&amp;nbsp;move back the start index, they will start seeing the records they have already seen. Getting it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom paging issue</title><link>https://community.appian.com/thread/128853?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2024 06:31:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e241fa2-ddfc-4686-bcb9-5e65808a7653</guid><dc:creator>prakhar2511</dc:creator><description>&lt;p&gt;I tried like this but didn&amp;#39;t work can you check this&amp;nbsp; is it the same logic as above or I missed something&lt;/p&gt;
&lt;p&gt;if(&lt;br /&gt; mod(ri!totalCount, ri!pagingInfo.batchSize) = 0,&lt;br /&gt; ri!totalCount - (ri!pagingInfo.batchSize) + 1,&lt;br /&gt; (&lt;br /&gt; floor(ri!totalCount / ri!pagingInfo.batchSize) * ri!pagingInfo.batchSize&lt;br /&gt; ) + 1&lt;br /&gt; ),&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom paging issue</title><link>https://community.appian.com/thread/128852?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2024 06:27:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09aea2c1-b810-410c-b329-4ee1b3391cc6</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;It is possible. But to me, it won&amp;#39;t be a good UX. Still, if you want to do it, just mod the total count by 100 (or the value selected in the dropdown) and set the output as the start index. If the output is 0 then divide it by 100 and set the output as startIndex.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom paging issue</title><link>https://community.appian.com/thread/128851?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2024 06:26:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:147341e8-8dd6-4ba2-8cda-32c6d0008efd</guid><dc:creator>prakhar2511</dc:creator><description>&lt;p&gt;&lt;img style="height:35px;max-height:35px;max-width:430px;" alt=" " height="35" src="/resized-image/__size/860x70/__key/communityserver-discussions-components-files/18/pastedimage1706941338283v1.png" width="429" /&gt;&lt;/p&gt;
&lt;p&gt;but when I am choosing 100 has drop down than I have 32 as total records in last page . So should I not accept that my start index should move from 3631 to 3600 ? this can be possible or not I have also doubt but I tried putting some calculation but it is not working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom paging issue</title><link>https://community.appian.com/thread/128850?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2024 06:20:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1fe565f5-1704-40ba-bc99-7c5e7ce4a235</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;I think it is working as expected. Because this new row count should be applied from the current page. So from the User Experience standpoint, this looks right to me. Because let&amp;#39;s say you had rows till 3700, then when you start from 3631, it will show you all the rows till 3700 but because you don&amp;#39;t have more rows to display, it is not showing any. So this looks correct to me.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can also set the startIndex back to 1 if someone changes the value in the dropdown.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>