Open kamaleshkrishnan opened 9 years ago
scrollable : false, pageable : { pageSizes : [ 5, 10, 25, 50 ], buttonCount : 5, messages : { display : "{0} - {1} of {2} assets", itemsPerPage : "assets per page", empty : "No assets to display" } }, dataSource : new kendo.data.DataSource({ serverPaging : true, transport : { read : getJobs }, "pageSize":10, "serverPaging": true, "serverSorting": true, "serverFiltering": true, "serverGrouping": false, "serverAggregates": false, schema : { total : returnTotalCount } }), selectable : 'row', sortable : true };
I have used the above code in controller and k-pageable='{ "refresh": true, "pageSizes": true }' in html also but still pagination not working properly.Can anyone help me on this. Do i need to change any code in service.js.
scrollable : false, pageable : { pageSizes : [ 5, 10, 25, 50 ], buttonCount : 5, messages : { display : "{0} - {1} of {2} assets", itemsPerPage : "assets per page", empty : "No assets to display" } }, dataSource : new kendo.data.DataSource({ serverPaging : true, transport : { read : getJobs }, "pageSize":10, "serverPaging": true, "serverSorting": true, "serverFiltering": true, "serverGrouping": false, "serverAggregates": false, schema : { total : returnTotalCount } }), selectable : 'row', sortable : true };
I have used the above code in controller and k-pageable='{ "refresh": true, "pageSizes": true }' in html also but still pagination not working properly.Can anyone help me on this. Do i need to change any code in service.js.