Skip to main content
Inspiring
January 7, 2021
Question

In Read only grid need to add new column ID

  • January 7, 2021
  • 6 replies
  • 1 view

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 field in Database)..

    6 replies

    mikes0011
    Brainy
    January 7, 2021

    What would the ID field display?  For example would it always show numbers starting from 1 (1, 2, 3 ... N) regardless of what rows of data are being displayed?

    The Expression Guru
    Inspiring
    January 7, 2021

    ID field should display number based on total number of Rows.

    mikes0011
    Brainy
    January 7, 2021

    You could just have your grid display a numeric value manually declared to be the "fv!index" value in the "a!forEach()" loop you use to create the grid rows.

    The Expression Guru