Olá pessoal,
preciso listar imagem na minha dataGrid, mas não estou tendo sucesso:
Segue:
[Bindable]
private var images:ArrayCollection = new ArrayCollection([{edit:
"document.gif"}, {remove: "close.gif"}]);
<mx:DataGrid x="10" y="10" width="782.5" height="268"
dataProvider="{taskList}">
<mx:columns>
<mx:DataGridColumn headerText="Descrição "
dataField="description"/>
<mx:DataGridColumn headerText="Tarefa Agendada"
dataField="col2"/>
<mx:DataGridColumn headerText="Cadastrado em "
dataField="register"/>
<mx:DataGridColumn headerText="Editar ">
<mx:itemRenderer>
<mx:Component>
<mx:Image source="{data.edit}"/>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
<mx:DataGridColumn headerText="Remover ">
<mx:itemRenderer>
<mx:Component>
<mx:Image source="{data.remove}"/>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
Alguém pode ajudar?
--
Sérgio Fantin
http://serjaum.wordpress.com
--
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