processResult
process data saving results
void processResult(object data);
object | response data objects |
Example
webix.ajax("save.php", data, function(text, data, loader){
...
dp.processResult({
id:"123",
status:"update"
});
});
Details
Can be used for custom data saving logic. After applying a custom saving logic, it's possible to call processResult() to finish the updating process.
The data object can have the following parameters:
- id - the ID of an item;
- newId - a new ID (in case of the insert operation it is expected that a server side will generate a new ID);
- status - the result of an operation ("update", "insert", "delete", "error", "invalid").
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.