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

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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

66 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you