onParse
fires when data are ready to be processed by the component
void onParse(object driver,object data);
object | the data driver (some from webix.DataDriver collection) | | data |
object | the data object, for json - a raw json object, for xml - an xml document object |
Example
view.data.attachEvent("onParse", function(driver, data){
//for json data
webix.message("Count of records "+data.length);
});
Details
The event can be used to preprocess data (but a better way is to use the scheme method). It is also a good way to read some extra attributes from incoming data.
See also
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.