开发者

How to turn Flex MXML DataGrid into something like Horisontal DataGrid? (see an Image)

开发者 https://www.devze.com 2022-12-24 18:01 出处:网络
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

from this (normal dataGrid)

How to turn Flex MXML DataGrid into something like Horisontal DataGrid? (see an Image)

(source: narod.ru)

into this (horisontal data g开发者_开发技巧rid)

How to turn Flex MXML DataGrid into something like Horisontal DataGrid? (see an Image)

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!

0

精彩评论

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

关注公众号