<?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>Refresh ReadOnly Grid</title><link>https://community.appian.com/discussions/f/user-interface/38545/refresh-readonly-grid</link><description>Hi all, 
 
 I am facing an issue related to data being refreshed in read-only grid. 
 The issue is in my read-only grid, I have navigated to a different page say 21-30. But after certain interval i.e., 30 sec my grid page navigates back to 1-10 automatically</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Refresh ReadOnly Grid</title><link>https://community.appian.com/thread/145487?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 09:03:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:992261f0-bd4c-4efc-930c-d91007df5d23</guid><dc:creator>daisyMSingh</dc:creator><description>&lt;p&gt;Pagination can be created to handle such scenarios .Normally we do to navigate to and back in editable ones.Better To create Ones in case of issues to have more Control over the batchsize ,movements and refreshes.&lt;br /&gt;Just make&amp;nbsp;&lt;br /&gt;refreshAfter: &amp;quot;RECORD_ACTION&amp;quot;,&lt;br /&gt; refreshAlways: true()&lt;br /&gt;if you are playing with Records It will Help more on that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh ReadOnly Grid</title><link>https://community.appian.com/thread/145464?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 13:38:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23de0391-b268-4257-b8a6-9813143119ad</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="234820" url="~/discussions/f/user-interface/38545/refresh-readonly-grid/145456"]performing internal sanity checks instead of resetting the index[/quote]
&lt;p&gt;TBF there used to be zero checks, the only result was an error.&amp;nbsp; Then they added sanity checks, and the result of said sanity check &lt;em&gt;&lt;strong&gt;was&lt;/strong&gt;&lt;/em&gt; resetting the start index.&amp;nbsp; I agree that with some effort, this could be made a bit more situationally observant - however your choice now is between waiting 2 - 10 years for Appian to implement this, to stay &amp;quot;low code&amp;quot;, or to implement it yourself, to get the functionality you want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh ReadOnly Grid</title><link>https://community.appian.com/thread/145458?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 07:33:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:edc88c17-d169-40ce-975d-3625fb0cbc00</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You could manage the refresh and paging yourself and disable the automatic refresh as the user navigates to a page &amp;gt; 1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh ReadOnly Grid</title><link>https://community.appian.com/thread/145456?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 04:06:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4da970c-a32a-42cb-b10f-14181de30646</guid><dc:creator>Saahil Mulla</dc:creator><description>&lt;p&gt;Thanks for your prompt response. I appreciate your insight. Although I can implement that code, it may compromise our low-code standards. I believe Appian could enhance the user experience by performing internal sanity checks instead of resetting the index. This would greatly improve the overall user experience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh ReadOnly Grid</title><link>https://community.appian.com/thread/145448?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 16:28:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f9d258fe-bf4d-4120-86bf-bbccc71c8691</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I believe (but haven&amp;#39;t tested) that this internal refresh behavior is intentional and, to some extent, required.&amp;nbsp; Say you&amp;#39;re viewing (and auto-refreshing) a highly variable data set (which Appian has to assume is possible, as it has no way of knowing either way), where at any given minute, the grid could have 3 pages or it could have 10 pages.&amp;nbsp; If you&amp;#39;ve navigated to page 8 of the data, and the auto refresh occurs, and now there are fewer than 8 pages&amp;#39; worth of data - if your paging info still has you viewing page 8, the grid will throw an unfriendly-looking error.&amp;nbsp; Instead, Appian presumably ensures that all auto-refreshes will be &amp;quot;sanitized&amp;quot; for this behavior by resetting the (internal) Start Index back to 1 for each refresh.&lt;/p&gt;
&lt;p&gt;You can probably work around this by querying your data externally (and storing your paging info externally as well), and refreshing your data that way.&amp;nbsp; You&amp;#39;d just need to make sure to check that the data size after any given refresh is compatible with the old Start Index (i.e. the data is long enough that the start index will still make sense, lest it throw an error), and otherwise, reset the start index (which i think is doable, as long as you&amp;#39;re reasonably versed in writing this code manually).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh ReadOnly Grid</title><link>https://community.appian.com/thread/145441?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 12:18:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6b25b3a-58aa-4fcf-a3e1-1009780176d8</guid><dc:creator>nassera30</dc:creator><description>&lt;p&gt;I will try to answer without seeing your code, I believe when you set a refreshInterval on a read-only grid it refreshes the entire grid and this includes the fv!pagingInfo. So every time the grid refreshes, in your case, every 30 seconds, it resets the pagingInfo to the default page (1-10), which is why you are seeing the navigation reset.&lt;/p&gt;
&lt;p&gt;I think&amp;nbsp;it&amp;rsquo;s best you maintain the selected page manually using a local variable for pagingInfo, so that even after refresh, the grid retains the current page.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>