[flexcoders] Arrow on Multiple Column's Header in Flex2 DataGrid

2009-02-15 Thread Dharmendra Chauhan
Hi All,
  I have to show Sorting arrows(Up  Down) on DataGrid(Hotfix2)
Header for more than one Column.I want to show arrow based on
underlying dataProvider Sorting ie if arrayCollection was sorted based
on two column then two respective column in DG should show arrow on
Header. Please do share your ideas on how to do it.
Please share the code if someone have already done it.

Any help would be highly appreciated.
 
Thanks,
Dharmendra Chouhan



RE: [flexcoders] Arrow on Multiple Column's Header in Flex2 DataGrid

2009-02-15 Thread Alex Harui
Custom headerrenderer.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dharmendra Chauhan
Sent: Sunday, February 15, 2009 9:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Arrow on Multiple Column's Header in Flex2 DataGrid


Hi All,
I have to show Sorting arrows(Up  Down) on DataGrid(Hotfix2)
Header for more than one Column.I want to show arrow based on
underlying dataProvider Sorting ie if arrayCollection was sorted based
on two column then two respective column in DG should show arrow on
Header. Please do share your ideas on how to do it.
Please share the code if someone have already done it.

Any help would be highly appreciated.

Thanks,
Dharmendra Chouhan