Thanks for your inputs ,Saurabh & Vinod. Sorry, I was away hence the
delayed response.
ok, about my datagrid issue:
In my case, there' no appending of row to the dataprovider, it's just
the updation of data at a particular index in the dataprovider
(ArrayCollection object)
myDataprovider.setItemAt(obj,index) - this is what I'm doing. But as
the data streams in every second, it takes lots of CPU time. Is there
any other workaround to reduce the CPU time?

If you can also suggest better ways of optimized code both CPU,memory,
it'd be really great. BTW my app works both in desktop(AIR) and as web
(flex/flash).
On Dec 8, 3:06 pm, "Vinod M. Jacob" <[email protected]> wrote:
> I think what saurabh has explained is the only thing you can do
> without refreshing the whole datagrid ie.adding or deleting from the
> dataprovider.
> On Fri, Dec 5, 2008 at 12:49 PM, Saurabh Narula
>
> <[email protected]> wrote:
> > i will take it in terms of a simple scenario where in your datagrid has a
> > dataprovider which is an array/arraycollection  - you can read the data and
> > append the extra rows coming in to your array/arraycollection variable, as
> > the variable would be bindable - it will automatically show up the extra
> > rows in your datagrid.
>
> > saurabh
>
> > On Fri, Dec 5, 2008 at 12:42 PM, Saran <[email protected]> wrote:
>
> >>  Dear friends,
> >>                    Need your thoughts on one scenario:
> >> Currently I'm socket-streaming data using Flex binary sockets and populate
> >> the data into several datagrids,
> >> the question is how to update a single row of datagrid without refreshing
> >> the complete datagrid (more like AJAX way).
> >> This update should be performed every millisecond and the row should be
> >> updated appropriately.
>
> >> Thanks in advance,
> >> Saran

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to