0
votes

I am working on flex, i simply need to grayout dataGrid. but could not find any direct control for it. Pls help.

Thanks in advance.

2

2 Answers

0
votes

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).

0
votes

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>