2 Replies Latest reply on Aug 4, 2007 12:15 PM by ntsiii

    how to count the amount of registries of a grid?

      Hi, I have a grid generated through a HTTPService, Example:

      <mx:HTTPService id="userRequest" url=" http://localhost/flex/php/prueba2.php" useProxy="false" method="POST">
      <mx:request xmlns="">
      <userid>{userid.text}</userid>
      <username>{username.text}</username>
      <emailaddress>{emailaddress.text}</emailaddress>
      <id_operacion>{txtOperacion.text}</id_operacion>
      </mx:request>
      </mx:HTTPService>

      <mx:DataGrid id="dgUserRequest" x="22" y="10" dataProvider="{userRequest.lastResult.users.user}">
      <mx:columns>
      <mx:DataGridColumn headerText="User ID" dataField="userid"/>
      <mx:DataGridColumn headerText="User Name" dataField="username"/>
      <mx:DataGridColumn headerText="Email Address" dataField="emailaddress"/>
      </mx:columns>
      </mx:DataGrid>

      how I can obtain the amount of registries that has my grid?

      jfuentes