Display the row number in skuid table

Is it possible to display the row number in the skuid table? 

The merge syntax {{index}} gives the row number from the model.  Add a template to the table and use that merge syntax. 

You ought to document that! (Or maybe I missed it.)

Thank you!

Hi Rob,
this works beautifully, however is it possible to sort the rows in a descending order using this?

A little bit of magic would work here. Add a UI only formula field to your model with the formula:
{{$Model.<>.data.length}}-{{index}}.

That will give you the descending number which you can include as field in your page.

1 Like