Ola pessoal, ja fiz isso varias x, sei que tem varios topicos sobre
isso tbem, mas ja testei de todo tipo e nao funciona o item renderer
com o check box, esta selecionando somente um por vez:
<mx:DataGrid x="10" y="68" id="dgSaldo" width="1178" height="392"
editable="true">
<mx:columns>
<mx:DataGridColumn headerText="Cracha" dataField="numcra"
width="35" editable="false"/>
<mx:DataGridColumn headerText="Cadastro" dataField="numcad"
width="35" editable="false"/>
<mx:DataGridColumn headerText="Nome" dataField="nomfun"
width="105" editable="false"/>
<mx:DataGridColumn headerText="Data"
dataField="data" width="40"
editable="false"/>
<mx:DataGridColumn headerText="Saldo"
dataField="saldo"
width="35" editable="false"/>
<mx:DataGridColumn textAlign="center" dataField="paga"
headerText="Paga Horas" width="35" editable="true"
editorDataField="selected" rendererIsEditor="true">
<mx:itemRenderer>
<mx:Component> <mx:CheckBox selected="{data.paga
== 'true'}" /> </mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
os dados estao carregando ok, mas qdo clico para selecionar somente
seleciona 1.
--
Você recebeu esta mensagem porque está inscrito na lista "flexdev"
Para enviar uma mensagem, envie um e-mail para [email protected]
Para sair da lista, envie um email em branco para
[email protected]
Mais opções estão disponíveis em http://groups.google.com/group/flexdev
To unsubscribe from this group, send email to
flexdev+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.