When enabling the sort on kendo grid columns it will work as expected, except the case when the column being sorted contains negative numbers.
Is there any way to fix this problem ?
this is a screen-shot of my grid:
When enabling the sort on kendo grid columns it will work as expected, except the case when the column being sorted contains negative numbers.
Is there any way to fix this problem ?
this is a screen-shot of my grid:
You are not providing enough information for determining what might be wrong so I will have to work in hypothesis...
strings
. See this example http://jsfiddle.net/4aD6b/2/ where Value
is defined as string
and try sorting it. But if you define conveniently the model (see http://jsfiddle.net/4aD6b/3/) then it works perfectly well.So, try defining the model as follow:
schema : {
model: {
fields: {
...,
Value : { type: 'number' }
}
},
If this is not the case then update your post showing code and mostly how the data is sorted in your case.