Instead of creating an alert with the
result attribute of the HTTPService request, make a call to a method that would
set the dataprovider to the resulting XML. The problem is, when the datagrid is
created, the XML from the HTTPService isn’t ready yet, so you need to
reset the dataprovider of the datagrid once the XML is actually returned. So
try something like: <mx:HTTPService id="catalogContents"
contentType="application/xml" <mx:Script> public function setDate(result:Object) { catalogGrid.dataProvider =
result.element; } </mx:Script> Not sure if that code will actually work but that’s
the general gist of it. Robert L. Brueckmann Web Developer Merlin Securities,LLC p: 212.822.4821 From: jivankohinoor
[mailto:[EMAIL PROTECTED]
This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.
Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.
|
- Re: datagrid does not display http data Robert Brueckmann
- Re: datagrid does not display http data jivankohinoor
- Re: [flexcoders] datagrid does not display http dat... Manish Jethani
- Re: datagrid does not display http data jivankohinoor
- RE: [flexcoders] datagrid does not display http dat... Chris Reynolds