Sorting a column with mDataProp
Sorting a column with mDataProp
![dj_sumaoy14](https://secure.gravatar.com/avatar/cd0dde15ff59d81aec47685bd9f45407/?default=https%3A%2F%2Fvanillicon.com%2Fcd0dde15ff59d81aec47685bd9f45407_200.png&rating=g&size=120)
when i try to sort a column with a mdataprop config like this
mDataProp: function(s, t, v) {
return t === "display" ? "checkbox" : s.val;
}
the value for sort that will be pass to the server is the word "function" not the s.val
any suggesstions?
mDataProp: function(s, t, v) {
return t === "display" ? "checkbox" : s.val;
}
the value for sort that will be pass to the server is the word "function" not the s.val
any suggesstions?
This discussion has been closed.