Need to increment serial number in read only grid?

Certified Senior Developer

Need to increment serial number in read only grid as to use in first column. If some of the entries been get deleted then the serial numbers be like,, 1,2,3,4,5.....

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to Harshit Bumb (Appyzie)

    a!gridField(
      label: "Table List",
      labelPosition: "ABOVE",
      data: 'recordType!TableName',
        columns: {
          a!gridColumn(
            label: "S.No.,
            sortField: '',
            value: "",
          ),
          a!gridColumn(
            label: "Name",
            sortField: 'name',
            value: fv!row['recordType!Table.fields.name']
          )

    },
    )

    In this grid listing I have to add serial number to the first column not the ID from the table.

Children
No Data