flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject Show/hide checkbox in grid
Date Thu, 02 Jul 2015 19:27:04 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message