On 9/6/05, priya_sukup <[EMAIL PROTECTED]> wrote: > I have a grid with two combo boxes. So in order to use a common cell > renderer i have extended the Datagrid column to include a > dataProvider variable. I have created the common cell renderer. The > combos are populated from different arrays using the dataProvider > variable in the newly defined datagrid column > > The data in the combo's get displayed correctlt but if i select a > particular value in a combo in row 1 and then move the mouse > randomly over the combos in same column in other rows, the value in > the other rows chnages to the value i had previously selected in row > 1. [...]
Your setValue is getting called when you hover the mouse over the cell, which then sets the dataProvider property and resets the selection. I'm not sure of the solution: you might want to look up the arcihves. But in general I think you're looking for a cell editor rather than a cell renderer. ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/