Get Rows Mode from DataProcessor

How do you get the mode of a row?

I know you can setUpdated(), but how can you get the mode/status of a row from the dataProcessor without going through sending the data to the server and back?

var mode = dp.getState(id);

Perfect thanks… why is this not in the dataProcessor API methods?

Was an our fault
Documentation updated - docs.dhtmlx.com/doku.php?id=dhtm … r_getstate

And how can we use getState(id) with a form?

What do we put in id parameter?

id - id of the record, which state you need to know ( id of row in case of grid )

Row ID in Form?

How to find row id in form?

For the form, dataprocessor is used in limited mode, you can use

dp.getState(myform.formId)

Thanks a lot, that worked!