Returns previous row or null if it is the very first row.
prevRow(index)
index |
integer, row index in records array |
Returns integer or null.
Description
The first argument
index is the index in the
.records array.
If you have grid defined in the following way:
You can do: