Remote Object always gives the better results then http. Reason being you don't need to parse the data into the custom objects in case of remoting and transfer is in binary form.
Array collection is preferable, as you want to hold the objects and you have to make use of binding as well which is not fired in case of simple array. Now, if you want further optimization you can perform the client side paging as the no. of records are a very huge set. Implementation of paging is somewhat in RIA way rather then traditional next and back way. Hold all the 10k records in a single ArrayCollection(M). Take a seprat array collection(S) declare it bindable and provide it as a dataprovider to your datagrid. Now put first 100 records from M to S. when the user starts scrolling you will get a scroll event and position. Based on the the position add additional records from M to S. This way you can render your datagrid faster in the start-up and can give a comparatively better end user experience. On Mon, Feb 1, 2010 at 8:57 PM, Alekhya Krishna <[email protected]>wrote: > Hi, > > I suggest you to use remote object, data in array collection > > > > On Wed, Jan 27, 2010 at 2:40 AM, Raj Prabha <[email protected]> wrote: > >> Hi, >> >> Please help me to find the solution for my problem. >> Requirement is displaying nearly 10K records with 200 columns in datagrid. >> Without pagination I need to load all the records at once.This is the >> requirement. >> I can use httpservice or remote object to load the data >> >> Which one is better to use it for this situation ? [array, array >> collection, xmllist , xmllistcollection,....] >> How to use it effectively? Now it is occupying more memory and taking too >> much time >> Can you please help me how it optimize it? >> >> Raj >> >> -- >> 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]<flex_india%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> > > -- > 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > [image: Adobe Flex 3 with AIR ACE ...]<http://www.bing.com/images/search?mkt=en-US&q=adobe+flex&FORM=HOTAPI#focal=5d41f8072cdd62a87fdcaa1bb6bac2ab&furl=http://livedocs.allaire.com/devnet/images/160x160/flex_3.jpg> Thanks, Vaibhav Seth -- 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.

