Wrap CheckBox in something else like a Canvas  The DataGrid uses the
visible property when recycling so you can’t use it for other purposes.

On 7/2/15, 12:27 PM, "mark goldin" <[email protected]> wrote:

>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

Reply via email to