Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
592
Init sort columns in a Group
posted

Hi all,

We are using WebHierarchicalDataGrid version 2010.3 2046 with EnableColumnGrouping="True".

There are two columns - ShipDate (type = Date) and InvoiceNumber (type = Int)

The DataSource is initial sort by ShipDate (DESC) and InvoiceNumber (DESC)

The grid is grouped by month and year of ShipDate as below:

September, 2010 

     12           09/10/2010

     10           09/10/2010

     13           09/10/2010

     09           09/09/2010

The group is working fine and the Grid is initial sort by ShipDate but not sort by InvoiceNumber DESC as expected.

With above example, the expected result is:

September, 2010 

     13           09/10/2010

     12           09/10/2010

     10           09/10/2010

     09           09/09/2010

 

How can we set the default sort in group from the Grid as ShipDate DESC, InvoiceNumber DESC ?

 

Thanks you,

Nguyen Huu Chu - VNETSOFTWARE