I have to pass them to
other datagrid by drag…. I’m new on this… if you have a better
idea or I’m doing the wrong way, just say it. I’ll change it now!
Thks again.
--------->--------->---------
Fernando Barros
--------->--------->---------
De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Em nome de Tracy Spratt
Enviada em: sexta-feira, 6 de maio
de 2005 17:28
Para: flexcoders@yahoogroups.com
Assunto: RE: [flexcoders] DataGrid
display problem
Why are those strings INSIDE the dataGridColumn array?
Tracy
-----Original Message-----
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Fernando Barros
Sent: Friday, May 06, 2005 4:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid display problem
Hi there,
I have this situation:
My main app "proposta.mxml" has:
<mx:ViewStack id="bodyStack"
changeEffect="Fade" width="52%" height="100%"
xmlns="componentes.*">
<Proposta_Atual
PropostaSel="{PropostaSel}" stRevenda="{stRevenda}"
aDepto="{aDepto}" aLinha="{aLinha}"/>
</mx:ViewStack>
In this component "Proposta_Atual.mxml",
at the second TabNavigator, I have:
<mx:DataGrid
multipleSelection="true" toolTip="Clique e arraste o produto à
caixa 'Itens da Proposta Atual'" id="dgProdutos"
dragEnabled="true" dataProvider="{wsProposta.fProdutosXML.result._items}"
width="100%" height="90%">
<mx:columns>
<mx:Array>
<mx:DataGridColumn width="90" columnName="SPARTNUMBER"
headerText="PN" />
<mx:DataGridColumn width="150" columnName="STITULO"
headerText="TÍTULO" />
<mx:DataGridColumn width="35" columnName="NESTOQUE"
headerText="ETQ" />
<mx:DataGridColumn width="90" columnName="NPRECOFINAL"
textAlign="right" headerText="PREÇO" labelFunction="fPrecoReal"
/>
<mx:String
id="SPRODUTOIDOFFICER">SPRODUTOIDOFFICER</mx:String>
<mx:String
id="NCODDEPTO">NCODDEPTO</mx:String>
<mx:String
id="NICMSPROD">NICMSPROD</mx:String>
</mx:Array>
</mx:columns>
</mx:DataGrid>
In the first TabNavigator, I have a search. When I
do the search and open one item, I change the TabNav selectedIndex for the
second tab. If I have those 3 strings(SPRODUTOIDOFFICER, NCODDEPTO, NICMSPROD)
my second tab does not complete its display. I only see a little vertical
image. When I remove those 3 strings, everything runs ok!
The strange thing is, if I go to the first tab,
and just click on the second tab, I have no problems. I can execute everything that
I want.
I have others datagrid in the same way.
Any beginning idea?
Thks in advance!
--------->--------->---------
Fernando Barros
--------->--------->---------
Yahoo! Groups Links
Yahoo! Groups Links