<?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>Hi, In a grid, I want to display a serial number along with my data. I am u</title><link>https://community.appian.com/discussions/f/user-interface/6259/hi-in-a-grid-i-want-to-display-a-serial-number-along-with-my-data-i-am-u</link><description>Hi, In a grid, I want to display a serial number along with my data. I am using (enumerate(length(datasubset.data))+1) to display the serial number like 1, 2, 3, 4 and so on. When I mention the pagingInfo batch size = 15, it displays 15 rows on the page</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi, In a grid, I want to display a serial number along with my data. I am u</title><link>https://community.appian.com/thread/104243?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2022 11:07:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6efb254d-6b50-4c8f-a9af-778d0542e0f7</guid><dc:creator>rahuls0014</dc:creator><description>&lt;p&gt;&lt;span&gt;whereContains(tointeger( fv!row.id) , tointeger( local!data.id))&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, In a grid, I want to display a serial number along with my data. I am u</title><link>https://community.appian.com/thread/104022?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 06:29:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3171c783-2c99-4d85-9dc5-e40b558f6ee2</guid><dc:creator>Vineetha Sri</dc:creator><description>&lt;p&gt;You can use this code in grid field value ,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;value: wherecontains ( fv!identifier , tointeger ( fv!currentPage.identifiers ) ) + fv!currentPage.startIndex - 1,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, In a grid, I want to display a serial number along with my data. I am u</title><link>https://community.appian.com/thread/103812?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2022 07:58:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:246e864f-dab7-406b-9670-2cbbaccc2e0f</guid><dc:creator>Yogendra Raghuwanshi</dc:creator><description>&lt;p&gt;you can use wherecontain for this&amp;nbsp;&lt;br /&gt;&lt;br /&gt;wherecontains(tointeger(fv!row.id),tointeger(local!department.id)),&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi,&lt;br /&gt;In a grid, I want to display a serial number along with my data. I am u</title><link>https://community.appian.com/thread/24314?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2015 17:58:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:595fab65-dbcc-4c72-a9c0-f1d5cccfe325</guid><dc:creator>GouthamKrishna</dc:creator><description>Disabling sort can be done indirectly by resetting the sortInfo every time user interacts with the grid or by capturing only the startIndex. In this way you have to only update the startIndex of the pagingInfo variable that you are using and then reset the sortInfo as a second step in grid saveInto block. Something like the following...&lt;br /&gt;saveInto:{&lt;br /&gt;a!save(local!pagingInfo.startIndex, save!value.startIndex)&lt;br /&gt;}&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi,&lt;br /&gt;In a grid, I want to display a serial number along with my data. I am u</title><link>https://community.appian.com/thread/24313?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2015 17:53:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e2cc9d52-184b-43d2-9522-7d29f68cc16d</guid><dc:creator>matthewb85</dc:creator><description>The best option I have found is instead of saving the entire paging info, only saving startIndex and batchSize, while not saving sort info. The code for the save into in the grid is the following: &lt;br /&gt;  &lt;br /&gt;saveInto: {&lt;br /&gt;      a!save(&lt;br /&gt;        ri!pagingInfo,&lt;br /&gt;        a!pagingInfo(&lt;br /&gt;          startIndex: save!value.startIndex,&lt;br /&gt;          batchSize: save!value.batchSize&lt;br /&gt;        )&lt;br /&gt;      )&lt;br /&gt;      }&lt;br /&gt;&lt;br /&gt;If the user does click on the top of a column to sort, it will keep the items in the original order but take them to the top of the grid, so this works best with grids that are not often paged through.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi,&lt;br /&gt;In a grid, I want to display a serial number along with my data. I am u</title><link>https://community.appian.com/thread/24312?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2015 17:44:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f8934323-9669-41e4-ba55-6dd410db29ef</guid><dc:creator>smrutis</dc:creator><description>Thanks guys for this!&lt;br /&gt;Can I ask you if we could disable the sort functionality from the grid header?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi,&lt;br /&gt;In a grid, I want to display a serial number along with my data. I am u</title><link>https://community.appian.com/thread/24309?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2015 16:08:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9d0700ee-d707-4462-9799-3e17003f01c3</guid><dc:creator>brettf</dc:creator><description>The other option is that you could have enumerated on the totalcount of the datasubset, such as:&lt;br /&gt;&lt;br /&gt;enumerate(datasubset.totalCount)+1.&lt;br /&gt;&lt;br /&gt;Your other solution works as well though.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi,&lt;br /&gt;In a grid, I want to display a serial number along with my data. I am u</title><link>https://community.appian.com/thread/24306?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2015 15:32:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7240a5fd-0b5f-47d4-b747-92f6534f772a</guid><dc:creator>smrutis</dc:creator><description>Thanks @janakik!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi,&lt;br /&gt;In a grid, I want to display a serial number along with my data. I am u</title><link>https://community.appian.com/thread/24305?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2015 15:22:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ed9eaa90-44ee-41a0-ae33-243cfd722ac5</guid><dc:creator>janakik</dc:creator><description>May be you can add pagingInfo startIndex to the enumerate function instead of 1.&lt;br /&gt;Example : enumerate(length(datasubset.data))+local!pagingInfo.startIndex&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>