开发者

sorting advance datagrid columns in flex

开发者 https://www.devze.com 2022-12-29 03:53 出处:网络
I have four columns in advance datagrid like company, contact_person, product and date. I want to sort by product followed by company and followed by date. How can I do this in Advance Datagrid?开发者

I have four columns in advance datagrid like company, contact_person, product and date. I want to sort by product followed by company and followed by date. How can I do this in Advance Datagrid?开发者_运维技巧


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消