HTTP Services for DataGrid

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default HTTP Services for DataGrid

    why is it that, when we send a web request for some data from a .jsp or .xml file, for a datagrid , we dont get the result displayed on the DataGrid if we have only one set of data.
    Aarththe Guest

  2. Similar Questions and Discussions

    1. Http services problem
      Dear Friends: My Problem is about the Http services Install Flex base on BEA Weblogic, JRUN4,Tomcat all the same problem my sever in intranet ,...
    2. Enabling HTTP Post to invoke web services
      I am calling a .Net web service from a traditional ASP page. I am using the ServerXMLHttp object. For example: sWebSvcUrl = "http://.....asmx"...
    3. No HTTP Post/Get show in Web Services WSDL.
      Hello all - Bear with me during this explanation as I have run myself ragged trying to figure this one out. When I compile my web service that...
    4. web services over http
      Hi I have a webservice setup for which I want to use client certificates. I installed a Web-Server certificate on my web server. I then generated...
    5. Custom HTTP Modules and Web Services
      I created a Web Service and a custom HTTP Module. I've put the HTTP Module dll in the Web Service's bin folder. I've put in the Web Service's...
  3. #2

    Default Re: HTTP Services for DataGrid

    Can you give an example of the XML you are returning? And what do you have the HTTPService resultFormat set to? Are you dynamically binding the results to the datagrid?
    peterent Guest

  4. #3

    Default Re: HTTP Services for DataGrid

    Did you mean that everything is fine if you have 2 or more rows of data, but a
    single row does not show up?

    If that's the case, do this:

    datagrid.dataProvider = mx.utils.ArrayUtil.toArray( results_from_data_request
    );

    A single row of data is being returned as an Object, not an Array of a single
    Object. This will make an array out of the data if necessary.

    peterent Guest

  5. #4

    Default Re: HTTP Services for DataGrid

    Thanks Peter Ent .I got my problem solved.
    Aarththe Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139