Table Grid - Is it possible to have 2 levels of sorting?

JanaW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 1, 2016

I have created a grid and want to have it sort on column 1 first and colum 2 second. Is there a way to do that?

1 answer

0 votes
francis
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
November 6, 2016

Hi Jana,

 

This is certainly possible - check the [col.xyz.defaultSort|https://wiki.idalko.com/display/TGPD/col.xyz.defaultSort] property.  

 

When this property is set, the grid is sorted on this specific column (either ascending or descending)
When multiple columns are specifying a defaultSort, the sort order is according to the column order in gd.columns.

 

Hope this helps - if not - feel free to send a mail to support.tge@idalko.com and we'll be happy to help out

 

Francis

Suggest an answer

Log in or Sign up to answer