When I set item.column0 of all rows to [[item.index]], values for columns that are not displayed will be set to “NaN”
how to get index of all rows.rp (51.9 KB)
When I set item.column0 of all rows to [[item.index]], values for columns that are not displayed will be set to “NaN”
how to get index of all rows.rp (51.9 KB)
I think the repeater pagination basically acts like a filter. When a repeater is filtered, undisplayed rows basically don’t exist, so they don’t have an index. It looks like when you try to assign a non-existent index number it probably assigns a null value. When a variable or text value is numeric, a null value is usually shown as “NaN” meaning, Not a Number.
If you remove the pagination from the repeater, your Update Rows action works fine. If you apply a filter to the repeater then click your button, then remove the filter, the same result occurs–filtered rows get assigned “NaN”.
The only way I can think to get around this for a paginated or filtered repeater would be to create a separate column and assign it index numbers. Don’t change the values in this new column. When you want to assign Column0 to the index number–relative to the entire repeater dataset and not just within the current page or filter–you can simply use the value in this new “index column”.
Here is an updated file where I tested a few things, and show my suggested solution on Page 4.
how to get index of all rows.rp (111.0 KB)