Skip to main content
Nintex Community Menu Bar
Question

Display the row number in skuid table

  • Jul 11, 2024 1:08 PM UTC
  • 5 replies
  • 69 views
  • Translate All

Forum|alt.badge.img+3

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

This topic has been closed for replies.

5 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 11, 2024 1:23 PM UTC

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

Translate

Forum|alt.badge.img+9

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

Translate

Forum|alt.badge.img+3

Thank you!

Translate

Forum|alt.badge.img+4
  • Jul 11, 2024 1:23 PM UTC

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

Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 11, 2024 1:23 PM UTC

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.

Translate