Sets the field value on the current page.
The row.setFieldValue() function doesn't change the value in the database, so the adjusted value doesn't appear in the grid. The value set this way only applies to the consequent row.getFieldValue calls.
the field name.
the field value.
No return value.
The field value set this way does not appear in the grid and only applies to consequent getFieldValue calls.
In order to avoid reloading the page to get the correct status of the task, we can use the row.SetFieldValue() function in the Client After event for the button: