Hi All,
We are working with Servoy ver 2020.12. When we try to sort on columns in NG Grid which are bound to 'calculated field', sorting is not working.
Any help will be highly appreciated.
Regards
function customSort(_rec1, _rec2) {
var _nResult = 0,
_val1 = _rec1[calc_field];
_val2 = _rec2[calc_field];
if(_val1 < _val2) {
_nResult = -1;
} else if(_val1 > _val2) {
_nResult = 1;
}
return _nResult;
}
Users browsing this forum: No registered users and 18 guests