How to turn Flex MXML DataGrid into something like Horisontal DataGrid? (see an Image)
from this (normal dataGrid)
(source: narod.ru)into this (horisontal data g开发者_开发技巧rid)
How to turn Flex MXML DataGrid into something like Horisontal DataGrid? (may be some how with Flash builder 4?)
Keeping all stuff DataGrid has like eating data from data provider sortind dragging - droping items etc
Good question. I have tried to do this myself.
My suggestion is to use DataGrid:
Turn off headers,
and make the first column of your datagrid use itemRenderers, where the itemRenderer for the first column renders the same gradient rendering as the headers (you can look at the DataGridHeaderBackgroundSkin.as class to see what kind of rendering code you need).
I'm not sure how to do the highlighting per column though.
Thanks, let me know if this helps!
精彩评论