$proxy

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

I understand array of callbacks. You are supporting multiple callbacks.
This is the solution (instead of callback[0].success):

webix.ajax.$callback(view, callback, {
  response,
});