3.2.0

Set Default sorting in DESC order in some columns, other remain ASC order

Is there any way to set default sorting order in some columns as DESCENDING, while others in ASCENDING order?
Henry Ng
September 11,
Faced the same problem, and it looks like this is not configurable but hard-coded into obj.sort function:

if (direction && direction != "ascending" ) {
 			direction = "descending";
 		}
 		else {
 			direction = "ascending";
 		}


Of course you can always specify your own sorting function for a column, but that's kind of clumsy.

Alex: I think it would make sense to introduce a property that would regulate this in upcoming release. For some types of data in certain environments (for instance, dates in news collection systems etc etc) DESC is much more natural and intuitive default.

Cheers.
Sergei
April 14,

This topic is archived.

See also:


Back to support forum