I removed all of the event listeners, including my itemClick event listener from my DataGrid and it worked correctly. The problem is that I need to listen for itemClick because when a row is selected I need to retrieve data from the server. I believe that the actions taken as a result of the itemClick (resizing the grid in order to display data below it) are causing the DataGrid to refresh and therefore either clearing or never displaying the itemEditor. Any ideas?
--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > sounds like you set itemrenderer to ccombobox, and not itemeditor. If > you set it up properly, you shouldn't need to change anything at runtime > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of jllaird02 > Sent: Monday, September 24, 2007 5:40 PM > To: [email protected] > Subject: [flexcoders] DataGrid item renderers and editors > > > > I'm having issues using an itemRenderer/itemEditor on a DataGrid. > > I have a DataGrid that on load needs to be nothing but labels. When I > click on a particular column I need that cell to change to a ComboBox > with 5 status values. I am able to select a cell and change the > itemRenderer of the DataGrid column. But the entire column changes to > ComboBoxes. I only want that specific cell to change to a ComboBox. > > In addition, when I select another cell, the first cell should change > back to a regular label with the new value. The just selected cell > should change to a ComboBox. > > I tried using the edit events (itemEditBeginning, itemEditBegin) with > an itemEditor. I set the editedItemPosition in the event listener for > itemEditBeginning to the selected row and column. And then in the > event listener for itemEditBegin, I called createItemEditor(row, > column), but no ComboBox appeared. > > Any help would be appreciated. >

