Retroceder   Foros del Web > Diseño de Sitios web > Flash y Actionscript > Flex

Respuesta
 
Herramientas Desplegado
Antiguo 18-sep-2007, 14:09   #1 (permalink)
kyoalex ha deshabilitado el karma
 
Avatar de kyoalex
 
Fecha de Ingreso: diciembre-2006
Ubicación: Merida Yuc Mexico
Mensajes: 26
tree y WebServices (.net) help!

saludos . .

Disculpen alguien me puede ayudar a pasar los resultados de un datatable (WebServices .net) a un Tree de Flex.

aki les pongo algo me mi codigo de lo que tengo:

************************************************** ************************************************** *************************

[Bindable]
private var table:ArrayCollection;
[Bindable]
private var xmlData:XMLList;
private function fillTreeView(event:ResultEvent):void
{
xmlData=event.result[0].NewDataSet.Table.diffgr as XMLList;
//AQUI ES DONDE DEBO PONER EL RESEULTADO DEL RESULT EVENTE QUE ESTA EN FORMATO E4X A MI TREE, PERO LA VERDAD NO TENGO LA IDEA DE COMO HACERLO Apenado
}


<mx:WebService id="TreeView"
wsdl="http://localhost/datagridflex3/Service.asmx?WSDL"
showBusyCursor="true" >
<mx:operation name="DataGrid"
result="fillTreeView(event)"
resultFormat="e4x"/>
</mx:WebService>

<mx:Panel x="10" y="270" width="377" height="229" layout="absolute" title="Tree View">
<mx:Tree id="trView"
x="10" y="10" width="337" height="169"
dataProvider="{xmlData}"
initialize="TreeView.DataGrid()"
dataTipField="@id"/>
</mx:Panel>
************************************************** ************************************************** *************************

Espero y aqui me puedan ayudar, gracias y nos estamos viendo . .
kyoalex está desconectado   Responder Citando
Respuesta
No hay votos aún.


Herramientas
Desplegado

Normas de Publicación
No puedes crear nuevos temas
No puedes responder temas
No puedes subir archivos adjuntos
No puedes editar tus mensajes

BB code is Activado
Caritas están Activado
[IMG] está Activado
Código HTML está Desactivado


La Zona horaria es GMT -6. Ahora son las 12:24.


Message Board Statistics

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93