Hi, i have this code in flex:
<mx:Application ... >
....
<mx:DataGrid id="filtros" styleName="grid" rowCount="10" dataProvider="{_larcFiltros}" allowMultipleSelection="true" >
<mx:columns>
<mx:DataGridColumn dataField="titulo" textAlign="left">
<mx:headerRenderer>
<mx:Component>
<mx:HBox width="100%" horizontalAlign="left" >
<mx:CheckBox click="outerDocument._mCheckAll(0)" />
<mx:Label text="Título" />
</mx:HBox>
</mx:Component>
</mx:headerRenderer>
</mx:DataGridColumn>
<mx:DataGridColumn headerText="Descripción" dataField="resumen"/>
...
</mx:Application>
When i click in the checkbox i want the column to sort, but when i click out of checkbox, in the column i wan to sort. How to know when i click in the checkbox or the column?
Any idea?
thanks a lot!