Hello! I just tried this and it works:
Firstly, create a template field on the table by clicking the ‘Add Field(s)’ dropdown on the table. You can label the template field anything you want.
In the template use:
<span class="counter"></span>
And make sure ‘Allow HTML’ is selected.
Then, add an inline snippet with the following code:
(function(skuid){ var $ = skuid.$; $(document.body).one('pageload',function(){ $('.counter').each(function(index, element){ $(this).text(index+1); }); }); })(skuid);
This iterates through each ‘counter’ element and inserts the number for you.