I think the “service” object
is already at the root () node, try:
dg.dataProvider = service.function_set;
Also, I am surprised lastResult works in
the AS code. As I understand, you should only use lastResult in binding
expressions, but use event.result in handler functions.
Tracy
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sinacapho
Sent: Wednesday, September 06,
2006 11:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
DataProvider question
Dear all,
i have face a problem about dataprovider .Actually it is about
data model
For example i can run this with no problem
dg.dataProvider = exec_function.lastResult // HttpService result
But when i assign it to a model , say:
>
{exec_function.lastResult}set>
and then assign it to the datagrid
dg.dataProvider = service.result.function_set
Nothing have been show.
Can someone help me?
thx
capho
__._,_.___
--
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
Software development tool
Software development
Software development services
Home design software
Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group
|
Yahoo! Groups Terms of Use
|
Unsubscribe
__,_._,___