I'm using combobox as a dropin item editor in a datagrid. I don't like
how many steps it takes to edit a cell...

1: click the cell (renderer turns into editor)
2: click the editor (combobox drops down)
3: click the desired selection (combobox closes)
4: click outside or tab-out to convert the editor back to the renderer
and dispatch the itemEditEnd event.

When you make a selection in the combobox, I'd prefer it to close up,
switch back to the renderer, and then dispatch the itemEditEnd event
right away.

I've noticed that making a selection in the combobox editor does not
dispatch any of the itemEdit events, so I figured I would need to
dispatch a combobox change event (from the combobox) and then
hopefully use a listener to programmatically destroy the editor and
dispatch the itemEditEvent or something.

Not sure if this is even possible, but in any case, I can't seem to
find anything that can listen to a dispatched event from the editor.
I've tried listening for the event on the datagrid, the datagrid
column, and the component containing the datagrid... all giving
errors.  Is this not possible? Or is there a better way to approach this?

Reply via email to