Is it possible to validate data, received from an external data source, priort to sending this data to control?
I’d like to catch all “Load()” requests in web-app, and validate returned data.
In case of request processing errors, return from web-server error messages and display these messages on a web-client side.
DataDriver code will be called for any DATA loading call. It means if you are using it with load command of any component - it will be triggered. As for configuration it will work if you are using webix.markup.parse with XML string, it will not work if you are using parse with XML object ( as there will not be a toObject call in that case )
If you mean some other scenario - please share details.
(2)
Yep, sorry it was my typo, in first line it must be just a function name .toObject; , not function call .toObject()