|
Index.js
allowPaging: true,
allowFiltering: true,
allowSorting: true,
sortSettings: { columns: [{ field: 'OrderID', direction: 'Ascending' }, { field: 'ShipCity', direction: 'Descending' }] }, // initial sorting
filterSettings: { type: 'Menu', columns: [{ field: 'ShipCity', matchCase: false, operator: 'startswith', predicate: 'and', value: 'reims' } // initial filtering
] },
created:function(args){
debugger;
this.clearSorting();
this.clearFiltering();
this.goToPage(1);
} |
|
Index.js
allowPaging: true,
allowFiltering: true,
allowSorting: true,
groupSettings: { columns: ['OrderDate'] },
created:function(args){
this.clearGrouping();
this.groupModule.renderGroupDropArea();
} |