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

  • 1
  • Question
  • Updated 3 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?

Photo of Charlie Madison

Charlie Madison

  • 168 Points 100 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 52,236 Points 50k 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:


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