![]() |
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 . . |
| La zona horaria es GMT -6. Ahora son las 04:26. |
Desarrollado por vBulletin® Versión 3.8.7
Derechos de Autor ©2000 - 2026, Jelsoft Enterprises Ltd.