Sorting with Paging (Dynamic) - Script Error

Hello again,

I am getting a script error when I click on a heading on the grid to sort it, but only when paging is enabled. I’m using dynamic paging also…Error is:

‘this.rowsBuffer[…].idd’ is null or not an object

It’s actually that this.rowsBuffer is undefined. The code that is erroring is in the function sortRows.

If it’s any help, I get it on any page, not just first.


Are you using dynamic loading? Client side sorting requires all rows to be loaded. If you are using dynamic loading you should use server side sorting. Please check example here … aging.html

Yes I am using dynamic loading.

Thanks for the information