How to show line number of row (ie: 1, 2, 3, etc)

  • 1
  • Question
  • Updated 2 years ago
  • Answered
I am showing a list of opportunities and I'd like to see how many numbers I have like in the example below. How could I do this?





Thanks,
Charlie
Photo of Charlie Madison

Charlie Madison

  • 168 Points 100 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
Official Response
There is a really simple, declarative approach that requires NO javaScript code: add a Template column to your Table with the following as its template value:

{{index}}





This is leveraging the {{index}} row merge variable which is available in row merge contexts.