Hi,
I try to create a grid with Kendoui. The data are showed in the list, but the pager doesn't work. It shows No items to display.
And if I click a column for sorting for more than three times, an error, "Uncaught TypeError: Cannot read property 'length' of undefined", will be through out at " that.length = array.length;" (line 4690 of kendo.web.js in kendoui.trial.2012.3.1114).
The json object from Java controller is
{"data":[{"id":9,"name":"asfsasa","number":"d","type":2,"status":"asdas","startDate":"2012-01-29","endDate":"2012-01-31","contact":"","vendor":"","hierarchy":"standalone","master":null},{"id":12,"name":"aaaaa","number":"aaaaa","type":2,"status":"aaaaaa","startDate":"2012-01-01","endDate":"2012-01-28","contact":"","vendor":"","hierarchy":"standalone","master":null},{"id":1,"name":"test1","number":"test1","type":1,"status":"test1","startDate":"2012-01-01","endDate":"2012-01-29","contact":"test1","vendor":"test1","hierarchy":"standalone","master":null},{"id":2,"name":"aaa","number":"aaa","type":1,"status":"aaa","startDate":"2012-01-01","endDate":"2012-01-27","contact":"aa","vendor":"aa","hierarchy":"standalone","master":null}]}
Please see the source code and screen shot in attachment. Could you help me? Thanks a lot.
Best regards
Shi Nuo
I try to create a grid with Kendoui. The data are showed in the list, but the pager doesn't work. It shows No items to display.
And if I click a column for sorting for more than three times, an error, "Uncaught TypeError: Cannot read property 'length' of undefined", will be through out at " that.length = array.length;" (line 4690 of kendo.web.js in kendoui.trial.2012.3.1114).
The json object from Java controller is
{"data":[{"id":9,"name":"asfsasa","number":"d","type":2,"status":"asdas","startDate":"2012-01-29","endDate":"2012-01-31","contact":"","vendor":"","hierarchy":"standalone","master":null},{"id":12,"name":"aaaaa","number":"aaaaa","type":2,"status":"aaaaaa","startDate":"2012-01-01","endDate":"2012-01-28","contact":"","vendor":"","hierarchy":"standalone","master":null},{"id":1,"name":"test1","number":"test1","type":1,"status":"test1","startDate":"2012-01-01","endDate":"2012-01-29","contact":"test1","vendor":"test1","hierarchy":"standalone","master":null},{"id":2,"name":"aaa","number":"aaa","type":1,"status":"aaa","startDate":"2012-01-01","endDate":"2012-01-27","contact":"aa","vendor":"aa","hierarchy":"standalone","master":null}]}
Please see the source code and screen shot in attachment. Could you help me? Thanks a lot.
Best regards
Shi Nuo