How can I create a button that modifies a cell in a current row, then updates a cell in the next row?
before click
Column Status
1 - not started
2- not started
after click
1 - in progess
2- up next
How can I create a button that modifies a cell in a current row, then updates a cell in the next row?
before click
Column Status
1 - not started
2- not started
after click
1 - in progess
2- up next
hi, i would have done it that way. but be careful it has to be exactly one above the other.
// gives the row order
MyTable.find(thisrow)
runAction (
// first action update thisrow
ModifyRows(thisrow, column Status, "in progress"),
//second update rowOrder + 1
ModifyRows( MyTable.filter(CurrentValue.rowOrder== thisrow.rowOrder+ 1), column Status, "up next")
)
Hi Ryan
When working with previous and next rows, you need to be very aware of the row sequence in you table.
There are three distinct ways for a table to be ordered:
It’s just a ramble, Rambling Pete.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.