Sort with another column

Sort with another column

geethunimeshgeethunimesh Posts: 25Questions: 9Answers: 0

Having issue while sorting with another type of column data
Using this code
"mRender": function(data, type, full) {
return type == 'sort'? full.hitFlag: full.score;
}
Here score is integer type and hitFlag is of string. Sorting is working fine if I use an integer type column for sorting.
Any help?

This discussion has been closed.