what is actual behavior
Default kendo UI behavior is like we need to render all the grid data once to activate pagination functionality if pageSize <= actual records then and then the only pagination will active but if we got pageSize > actual records the pagination won't work.
what is expected behavior
I need to set pageSize = 50 and API return me 50 records with total records field so, for now, we can assume that API return total 50 records and it has fields to indicate total records which let's say 200 so pagination will set accordingly [ 200 (total) / 50 (pageSize) = 4 page ] and pagination will active also with the pageSize <= actual logic and we can call separate API call for next 50 records after we click on next button which is been created on total records.
Hi Sanjay,
I think what you need is paging on the server by enabling the serverPaging property. This way the Grid will load only the predefined pageSize and the total and when the user asks for a different page a new request will be performed to request another pageSize number of items. Please refer to the following official demo:
More information on Server Paging you can find i nthe following article: https://docs.telerik.com/kendo-ui/controls/data-management/grid/paging#paging-on-the-server
Regards,
Nikolay
Hi Georgi,
I noticed my colleague Georgi has replied to the same question but for Kendo UI Grid for Angular. Please refer to the following:
As a side note, it is important to choose the correct product you are using so we have the correct full requirement and reply to you accordingly. Kendo UI for jQuery and Kendo UI for Angular are two separate libraries that have special dedicated teams working on each of them.
Kind regards,
Nikolay