Requirement: I am trying to revert interactive grid row using JavaScript API in dynamic action. (Based on some conditions).
apex.region("PRODS").call("getActions").invoke("row-revert");
apex.region("PRODS").call("getActions").invoke("selection-revert");
It does not work initially, but if I select another row and then select the row I want to revert and then run this code manually in console it revert the row changes.
Can anybody please tell what could be the solution to this problem?
Thanks