1 Reply Latest reply on Aug 29, 2006 10:10 AM by Jorge_Juan

    Why datagrid not function with HTTP Service?

      Please i need help.
      I have the next code, is all correct, but datagrid not show the data of xml document. I dont understand

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" xmlns = "*" creationComplete = "consultaRequest.send()" >

      id = "consultaRequest"
      url = " http://www.spertegaz.m6.net/CRM/php/prueba.xml"
      useProxy = "false"
      method = "POST">

      <mx:HBox width="100%" height="100%" verticalAlign="middle">
      <mx:Panel title="Lista de Empresas" width="40%" height="100%" backgroundAlpha=".4" paddingLeft="4" paddingRight="4" paddingTop="4" paddingBottom="4" cornerRadius="6">
      <mx:VDividedBox width="100%" height="100%">

      <mx:DataGrid id="dg" dataProvider="{consultaRequest.Result.empresas.empresa}" width="100%" height="100%">
      <mx:DataGridColumn dataField="id_empresa" headerText="Id"/>
      <mx:DataGridColumn dataField="nombre" headerText="Nombre"/>