I have the following datagrid: <mx:DataGridColumn dataField="visible2" headerText="" textAlign="center" width="35"> <mx:itemRenderer> <mx:Component> <mx:CheckBox visible="{data.headerText2 != ''}" /> </mx:Component> </mx:itemRenderer> </mx:DataGridColumn> <mx:DataGridColumn headerText="Name" dataField="headerText2" />
The problem is it does not hide the checkbox when data.headerText2 is empty. But if I set enabled property to the same condition it would disable it. Any idea how to hide the checkbox? Thanks