views:

76

answers:

1

For example : Having four columns in advance datagrid like company,contact_person,product and date. In this, first i want to sort by product followed by company and followed by date. how can i do it in Advance datagrid.

Anybody knows please reply me asap. Advance thanks to u.

A: 

You can do a version of this by sorting your AdvancedDataGrid's dataProvider in reverse order of the scheme you describe. It will be a series of sort operations. First sort by date, then product, then contact-person, then finally sorting on company. If your AdvancedDataGrid has sortable columns, however, user interaction could immediately mess this up.

Robusto
its Very nice, can give some example for this problem. Thanks for idea given to me. if u give some example it is more useful to me
david