Hi
I try to read data from my angular service with this code (see below) but when i try to do a read() after init my service never call, what I'm wrong? I need to do that to reduce amount of data and re read when change month on scheduler using dataBound event
transport: {
read:
function
(e) {
return
modelService.getData({
startDate: vm.startDate,
endDate: vm.endDate,
userIds: []
}).success(
function
(result) {
e.success(result.data);
});
}
},
schema: {
type:
'json'
,
data:
'result.times'
}