Hi All
I am using kendo UI 2016.1.112 with angular and I am having an issue with sorting, the first time e.data.sort is populated nicely with the field and direction , second time same field and direction as desc but clicking for third time get an empty array
dataSource: {
transport: {
read:
function
(e) {
if
(!e.data.sort || e.data.sort.length === 0) {
///WTH ..... WHY?
}
var
sort = e.data.sort[0];
exclusionsService.getExclusions(e.data.skip, e.data.take, sort.field, sort.dir).then(
function
(data) {
e.success(data);
});
...