Get all row ids where status is invalid or error

Hello,

After this call:
dp.sendData();

How can i get all row ids where status is “invalid” or “error”?

There is onAfterUpdate event, which will be called for each saved row and will contain the response status.
docs.dhtmlx.com/doku.php?id=dhtmlxdataprocessor:event_onafterupdate