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.



 

Reply via email to