tell
me clearly about labelfunction
columnName can be
"Name" and headerText can be "Column 1". You could
also use a
labelFunction if you really needed to.
Matt
-----Original
Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On
Behalf Of sathish_kumar_18
Sent:
Tuesday, February 21, 2006 1:47 AM
To:
[email protected]
Subject: [flexcoders] Binding Data to DataGrid
from webservice response
How to bind data from webservice
response...
if the column name in the grid is different and child tag in
response
is different...
i cannot able to loop through the data because
the response would
contains huge data of 20000 rows..
example
if webservice response is
<response>
<data>
<Name>sathish</Name>
<Address>Chennai</Address>
</data>
<data>
<Name>selva</Name>
<Address>delhi</Address>
</data>
</response>
<mx:VBox>
<mx:DataGrid id="dg1"
dataProvider="{response.data}">
<mx:columns>
<mx:Array>
<mx:DataGridColumn columnName="Column1"
/>
<mx:DataGridColumn columnName="Column2"
/>
</mx:Array>
</mx:columns>
</mx:DataGrid>
</mx:VBox>
regards
sathish
--
Flexcoders
Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search
Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
DISCLAIMER:
Information transmitted by this e-mail may be proprietary to Ramco Systems Ltd., and / or the authors of the information and is intended for use only by the individual or entity to which it is addressed, and may contain confidential or legally privileged information. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are not authorised to access, read, disclose, copy, use or otherwise deal with it and any such actions are prohibited and may be unlawful.
Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses. Ramco Systems Limited therefore does not accept liability for any errors, omissions, viruses or computer problems experienced as a result of this transmission.
If you have received this e-mail in error, please notify us immediately at mail to: [EMAIL PROTECTED] and delete this mail from your records. Notice is hereby given that no representation, contract or other binding obligation shall be created by this e-mail.
|