开发者

How can i grayout a DataGrid?

I am working on flex, i simpl开发者_JAVA百科y need to grayout dataGrid. but could not find any direct control for it. Pls help.

Thanks in advance.


Maybe you need to disable your DataGrid using:

myDG.enabled = false;

?

As far as your question isn't any clear I can suggest another thing to use mx.printing.PrintDataGrid (more details here).


Try this to differentiate datagrid rows by different colors: you can also use more than 2 color parameters.

 <mx:DataGrid alternatingItemColors="[0xfffffff, 0xe4e4e4]" >
...
...
</mx:DataGrid>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜