Check this video on working with Item Renderer it's helpful, can answer your question http://www.youtube.com/flexatbeach#p/u/23/KnBO2GfV5W0 Regards, Devaraj
On Jul 2, 4:45 pm, Ravi Srinivas <[email protected]> wrote: > using a timer for each and every column is not idea, since i have more > number of columns in my datagrid. > > > > On Fri, Jul 2, 2010 at 3:57 PM, oviya selvan <[email protected]> wrote: > > @vipul: As far as i know, we can have column centric timer. I mean we can > > define timer in itemRenderer. so each column can have only one itemRenderer. > > Please correct me if i am wrong. > > > On Fri, Jul 2, 2010 at 10:18 AM, Vipul Sharma > > <[email protected]>wrote: > > >> @oviya : The updating of the dataprovider will intern call the > >> datagrid redraw > > >> @ravi : this will sound like a hack but, you can have a ItemRenderer > >> for you column and in it have a timer being placed calling any of > >> your method within each interval of your choice. In that method you > >> can call your ItemRenderer's refreshing logic, even if it is like > >> calling some server to fetch you something. > > >> Now again, for each cell of that column you will be having Timer > >> functions calling the refresh for you. This might be a trade off to > >> choose, but certainly all other options to stop datagrid redraw will > >> land you into more lines of code and that will be difficult to manage > >> and work with all user actions which can be performed on a datagrid. > > >> Still you will had one UI issue for having those ItemRenderers display > >> inapropriately when you take your mouse over any selected row, because > >> your ItemRenderer will be redrawing each time your timer calls it. > > >> On Jul 1, 4:58 pm, oviya selvan <[email protected]> wrote: > >> > Hi Ravi, > > >> > Instead of trying to update individual cell, you can update > >> dataprovider > >> > of DataGrid. I hope it should be helpful. > > >> > Thanks > >> > Oviyan > > >> > On Thu, Jul 1, 2010 at 12:36 PM, Ravi <[email protected]> wrote: > >> > > recently i came across one problem how can i update datagrid > >> > > individual cell. > > >> > > if i give dataprovider to again, datagrid is redrawn so performance > >> > > will come down > > >> > > is there any other way of doing this. > > >> > > -- > >> > > 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%2bunsubscr...@googlegrou > >> > > ps.com> > >> <flex_india%[email protected]<flex_india%252bunsubscr...@googl > >> egroups.com> > > >> > > . > >> > > For more options, visit this group at > >> > >http://groups.google.com/group/flex_india?hl=en. > > >> > -- > >> > Regards, > >> > Oviyan > > >> > Blog : http://www.oviyas.blogspot.com/ > >> > contact : +91 - 91762 72633 > > >> -- > >> 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%2bunsubscr...@googlegrou > >> ps.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/flex_india?hl=en. > > > -- > > Regards, > > Oviyan > > > Blog : http://www.oviyas.blogspot.com/ > > contact : +91 - 91762 72633 > > > -- > > 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%2bunsubscr...@googlegrou > > ps.com> > > . > > 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]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

