Hi,
I hope you are well.
I am trying to revert interactive grid rows 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 the console it reverts the row changes.
Can anybody please tell what could be the solution to this problem?
Thanks in advance.
apexgeek
Try to refresh after reverting:
apex.region("PRODS").call("getActions").invoke("refresh");
Khokhar
This does not work also.