Simple-Paging-Grid
Simple-Paging-Grid copied to clipboard
Sort by numeric values
When data are provided as a table, sorting by numeric column returns data in incorrect order. This is caused by invalid sorting conditions in the _refreshData function:
if ($.isNumeric(aVal)) {
if (aVal < bVal) {
return 1;
} else if (aVal > bVal) {
return -1;
}
return 0;
}
Thanks for reporting this - I'll take a look shortly.