Hi JQWidgets Team,
If there is no data in jqxgrid after that if someone try to sort or click column for sorting, console gives following error
preview-e6e32bdb6d8102b4a83ab.js:1 ERROR TypeError: Cannot read property ‘length’ of undefined
at Function.each (jqxcore.js:8)
at b.jqx.dataview.sortby (jqxgrid.sort.js:8)
at c.<computed>.sortby (jqxgrid.sort.js:8)
at HTMLDivElement.eval (jqxgrid.js:8)
at HTMLDivElement.dispatch (jqxcore.js:8)
at HTMLDivElement.bB (jqxcore.js:8)
at Object.trigger (jqxcore.js:8)
at HTMLDivElement.eval (jqxcore.js:8)
at Function.each (jqxcore.js:8)
at init.each (jqxcore.js:8)
Here is the example you can try to reproduce the issue
https://stackblitz.com/edit/github-vfazvc
Please open browser console log so that issue can be seen, once browser click the clear button so that all data gets clear after that click any column for sorting and above error comes in a console
Regards,
Ravi Badole