kendo-labs / angular-kendo

A project to create a robust set of Angular.js bindings for Kendo UI widgets
474 stars 209 forks source link

pagination not working in kendo grid using angular... #398

Open kamaleshkrishnan opened 9 years ago

kamaleshkrishnan commented 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.