No, I don't think so. If you already have a cell renderer, use it to set a "prevSelectedCell", recording perhaps the row index and column index. So when the user selects another cell, you use the prevSelectedCell info to un-select it, then apply the selected presentation to the current cell.
Tracy -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of sanjayd Sent: Thursday, June 02, 2005 8:36 PM To: [email protected] Subject: [flexcoders] Re: highlight/unHighlight a grid cell Tracy: I took a look at the code, it may just work. However, I already have a cellRenderer, so, can I have 2 cellRenderers forthe same cell & string them together ? Sanjay --- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > I bet you will need a custom cell renderer. Check out this example, > which uses a cellrenderer to color cells based on item data. You might > be able to modify it to highlight the current cell. > > http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI > D=192 > > Tracy > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of sanjayd > Sent: Thursday, June 02, 2005 3:21 PM > To: [email protected] > Subject: [flexcoders] highlight/unHighlight a grid cell > > Hi. > > Can somebody tell me an elegant way to highlight a datagrid cell on > mouseClick ? I need to be able to unHighlight the previously > highlighted cell (if any). > > Thanks in advance. > > Sanjay > > > > > > > Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

