SPACEBAR in Dojox EnhancedGrid
===

I'm using a *dojox.grid.EnhancedGrid* that has an editable cell. The SPACEBAR triggers the  "edit mode" (which is an "ok-ish" approach, I guess). However, if I trigger the edit mode programatically (via a link in an adjacent cell) or by double-click and I start typing some text like "This value is good", as soon as I hit the SPACEBAR (after "This") the grid tries to trigger the edit again and it deletes what I've entered so far.

Does anybody know how to fix this? It's really annoying because it happens only when using other means of entering the cell in "edit mode" other than "onKeyDown" event (i.e. if I focus the cell and press ENTER the cell goes into edit mode and spaces are allowed; if I double-click the cell and enter edit mode the first time I press SPACEBAR the edit mode messes up).

Thank your for your answers.