Hey, did you get solution to your problem? Check out a few similar questions posted on http://askmeflash.com. You might find solution to your problem too. Else you may post your question there.
On Apr 10, 11:49 pm, "sreenidhi b.s" <[email protected]> wrote: > Hi > i wanted to know the exact method of initializing dataprovider to datagrid > is external function. > ?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> > <mx:Script> > <![CDATA[ > private function initDataGridData():void > { > dgpanel.title="Inbox"; > gendg.dataProvider = "{inbox.lastResult.inbox.mailrecord}"; ////is > this the right way? cos its not working > inbox.send(); > } > > ]]> > </mx:Script> > > <mx:HTTPService id="inbox" url="inboxflex.jsp" showBusyCursor="true"/> > > <mx:Button x="16" y="69" label="Inbox" width="78.5" > click="{initDataGridData()}" /> > <mx:Panel id="dgpanel" x="113" y="34" width="597" height="255" > layout="absolute"> > <mx:DataGrid id="gendg" width="517" rowCount="10" height="60%" > x="30" y="29"/> > </mx:Panel> > > </mx:Application> -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

