Allow default sort order of datamanager grid to be made up of multiple columns

Description

Allow developers to specify a default sort order fro Data manager grids for any given object. The sort order should be allowed to be formed of multiple fields.

Note - this is not necessarily straight forward and should not make use of `@dataManagerSortField` which is for a different feature altogether. Will require some thought (i.e. once a user starts sorting on fields in the grid, how do they get back to the default) - it may make sense to be considered as a wider overhaul of the grid display, including PRESIDECMS-100.

original request

At the moment, developer can pre-define the sort order by the object metadata like :
@datamanagerSortField fkstatus
But sometimes, client want dataset to be sorted by DESC or ASC , Or combine of more than one field.
So it will be so cool if we can define the sort order in object metadata like:
@datamanagerSortOrders fkstatus desc, createddate asc ...

Thanks

Assignee

Unassigned

Reporter

MinhN

Labels

None

Accepted

Yes

Fix versions

Priority

Medium
Configure