Hi
can you help me to use webix.proxy.load without webix.ajax?
Here is my example:
var service = myCustomService;
webix.proxy.dynamic = {
$proxy: true,
dynamicLoading: true,
load: function loadData(view, callback) {
service.get((err, response) => {
if (err) {
return callback[0].error(err);
}
callback[0].success(response);
});
},
};
I will always get error that loader is undefined after callback[0].success.
My other question is why is the callback array with one object { error, success } ?
Thank you