This content has been marked as final. Show 3 replies
Can you programaticlly "re-open" the cell for editing when the pop-up closes?
It is having the direct edit capability that makes this complicated. If you can do without that, it will be easy.
thanks for your reply.
The cell "closes" while the popup is still open, not when I close it.
The latter would be perfectly normal, the very same way DateField behaves.
It seems to me that the grid does not recognizes the popup as part of the item editor: thus moving focus to it triggers some event (whose type and target I don't know) that finally causes endEdit to be triggered (that I can trace).
I managed to simplify the problem enough to post an example:
public class BogusEditor extends HBox
public function BogusEditor()
var text:TextInput = new TextInput;
text.percentWidth = 100;
var button:PopUpButton = new PopUpButton;
button.popUp = new NumericStepper;
in this item editor (which is not supposed to really edit nothing, of course), when you pop up the numeric stepper and interact with it, the grid cell being edited exits from editing status while leaving the popup still open (and zombie...).
Note that, if you use ie a DateChooser instead of the NumericStepper, everything works just fine.