<?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>In Read only grid need to add new column ID</title><link>https://community.appian.com/discussions/f/general/20184/in-read-only-grid-need-to-add-new-column-id</link><description>Hi, 
 I have created a view and then displayed the value in Read only grid. Every thing is working fine. 
 But there is no ID field which will display 1,2,3,4...based on number of Rows. Is it possible to add it from Appian Side(because there is no ID</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: In Read only grid need to add new column ID</title><link>https://community.appian.com/thread/78811?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 20:20:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7d3ef31e-4f0c-4c61-80bb-b1302cfde87a</guid><dc:creator>akshayg0006</dc:creator><description>&lt;p&gt;Thanks a lot ...I was struggling for this&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In Read only grid need to add new column ID</title><link>https://community.appian.com/thread/78810?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 20:18:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:371fa53d-bb6a-4efc-9d7b-02cda48906e4</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;well, here&amp;#39;s a simple example:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;a!localVariables(
  local!array: {&amp;quot;a&amp;quot;, &amp;quot;b&amp;quot;, &amp;quot;c&amp;quot;},
  
  a!gridLayout(
    headerCells: {
      a!gridLayoutHeaderCell(label: &amp;quot;value&amp;quot;),
      a!gridLayoutHeaderCell(label: &amp;quot;id&amp;quot;)
    },
    rows: a!forEach(
      local!array,
      a!gridRowLayout(
        contents: {
          a!textField(
            value: fv!item,
            saveInto: fv!item
          ),
          
          a!richTextDisplayField(
            value: fv!index
          )
        }
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Which produces the following grid:&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1610050754579v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In Read only grid need to add new column ID</title><link>https://community.appian.com/thread/78809?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 20:12:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:448500d6-fedd-4450-835a-858470572851</guid><dc:creator>akshayg0006</dc:creator><description>&lt;p&gt;Can you please share the code.. I had tried but not getting expected result&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In Read only grid need to add new column ID</title><link>https://community.appian.com/thread/78808?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 20:09:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ae147b0-b13c-443a-b6fe-1e493e1bd2bf</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You could just have your grid display a numeric value manually declared to be the &amp;quot;fv!index&amp;quot; value in the &amp;quot;a!forEach()&amp;quot; loop you use to create the grid rows.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In Read only grid need to add new column ID</title><link>https://community.appian.com/thread/78807?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 20:07:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:92b16f5f-4be7-4295-a740-a156ac1ce880</guid><dc:creator>akshayg0006</dc:creator><description>&lt;p&gt;ID field should display number based on total number of Rows.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In Read only grid need to add new column ID</title><link>https://community.appian.com/thread/78806?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 20:06:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:332b6dc5-03f5-4ecb-87f1-d6fd67c889a0</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;What would the ID field display?&amp;nbsp; For example would it always show numbers starting from 1 (1, 2, 3 ... N) regardless of what rows of data are being displayed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>