<?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>Progressive index in read only grid</title><link>https://community.appian.com/discussions/f/data/30108/progressive-index-in-read-only-grid</link><description>Hi, 
 I have a read only grid with recordType as data source. The total records are N, more than 5000. I have the need to show a column in the grid with a progressive index, from 1 to N. 
 Is there a way to achieve this using the recordType and without</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Progressive index in read only grid</title><link>https://community.appian.com/thread/119674?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 16:59:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aa57e029-ce5d-4b3e-911b-f4a64a14355d</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Yep, it&amp;#39;s pretty useful! I&amp;#39;ll see if we can get the documentation updated to make it more clear where you can use it &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Progressive index in read only grid</title><link>https://community.appian.com/thread/119673?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 16:51:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5548b9e5-bca8-4a5b-9ffd-d8a6efdf7075</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="2478" url="~/discussions/f/data/30108/progressive-index-in-read-only-grid/119669#119669"] fv!currentPage,[/quote]
&lt;p&gt;Wow, somehow I&amp;#39;d always missed that this is a thing that can be used in the Value parameter in &lt;em&gt;a!gridColumn()&lt;/em&gt;.&amp;nbsp; I note that the only place it&amp;#39;s mentioned in the documentation (like, at all) is in the Validations parameter for the whole grid.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Progressive index in read only grid</title><link>https://community.appian.com/thread/119670?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 15:47:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b66ae6d7-1106-4af8-b1a7-5f75a95353c9</guid><dc:creator>Gabriele Minardi</dc:creator><description>&lt;p&gt;It works! Thank you Peter!&lt;/p&gt;
&lt;p&gt;..I add a question: is it possible to export the grid including this new &amp;quot;virtual&amp;quot; column to Excel or at this point do I necessarily have to move on to creating a view?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Progressive index in read only grid</title><link>https://community.appian.com/thread/119669?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 15:32:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:45c5b829-8670-4a4b-ad44-69815de33646</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Ooooh this is a fun question! I think your best bet here is to use the information in fv!currentPage, since that has the start index and identifiers of the current page. Here&amp;#39;s an example column for how I was able to get it to work:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!gridColumn(
  label: &amp;quot;Index&amp;quot;,
  value: fv!currentPage.startIndex - 1 + wherecontains(fv!identifier, tointeger(fv!currentPage.identifiers))
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>