I would really appreciate if somebody would reply.
SOAP Service; two methods in the service, each calling a different table in a database; every method should fill a datagrid.
This is not my area, but I believe each method returns an AsyncToken that
you can add CallResponders to. Each method should also have a astResult
property as well.
You can set the dataprovider to both.
Or I think you can do:
datagrid1.dataprovider = datagrid2.dataprovider;
datagrid1.dataprovider = dataSource;
datagrid2.dataprovider = dataSource;
Also, you do not want to probably bind directly to the HTTPResult. What you need is an ArrayCollection that parses all data into it. Then you can bind your datagrids to that ArrayCollection.
Try something like this:
public var myList:ArrayCollection;
result="myList = new ArrayCollection(simpleHTS.lastResult.list.name)" />
You can then use myList to bind to other objects, such as your 2nd datagrid.
it's difficult to understand at first. ive only been coding in FLEX for two months now and that was hard for me at first.
And you are absolutely right... Each method returns an AsyncToken and each method has a lastResult property. However, if I do it the drag&drop way as I did with this example: http://pastebin.com/y66WqXTR then it doesn't work. The 'station' datagrid is not showing any values and the 'data' datagrid is showing values.