studentsss
studentsss

Reputation: 197

Kendo ui grid parameterMap Cannot read property 'field' of undefined

I have a kendo grid. I am doing SERVER SORTING In parameter map when sorting at third click I have the error: Cannot read property 'field' of undefined option.sort[0] is undefined Why?

Upvotes: 0

Views: 2524

Answers (1)

Atanas Korchev
Atanas Korchev

Reputation: 30671

The third click gets to unsorted state which means the sort array is empty. Hence getting its first item returns undefined.

Upvotes: 1

Related Questions