The variable pui.gridSort can be used customize the client side grid column sort
Example:
Code Block |
---|
pui.gridSort = function(value1, value2) {
if (value1 > value2) return -1;
else return 1;
}
|
This function could be used to control the order numerals and characters are sorted.