Hi guys,
How can I display the row numbers in my grid in the first column dynamically?
Hello Sirn,
You have to:
1) create JS variable on the custom JS page:
var myNumber = 0;
2) add JS code on the first column mapping:
return myNumber++;
got it! thanks but I did something slightly different instead. I had to create a storage variable via the model and storage window then only map.
Is there a way I can do it via javascript instead of using the model and storage option like you mentioned?
Sure, you can implement it with plain JS, without storage variables