View Full Version : ExtJS Grid, allow spacebar when filling input field

26 Sep 2012, 11:34 PM
I am porting some really tough old HTML code to an ExtJS Grid, and unfortunately every once in a while some cells get their contents as pure HTML via ajax and put input elements inside the grid's cells.In one occasion I end up with a mortal Textarea inside a cell, which looks fine, yet typing text into the textarea is not very convenient, as the "space" is not allowed, the grid simply ignores it.http://i.stack.imgur.com/av7ys.pngI have already tried keyNav.disable(); and enableKeyNav = false; but neither of these help :(

28 Sep 2012, 12:09 PM
The grid view will stop the event when the space is pressed if the element it was pressed on does not match textarea or input.

1 Oct 2012, 1:02 AM
But this is a textarea :( any recommended way around this?

30 Oct 2012, 1:14 AM
Ive got the same problem...I use template column to post a column contains html textarea. I've disabled 'enableKeyNav' and keys such as home\end, up\down and enter work well. Only spacebar doesn't give any feedback.(:|

Hv tried overriding the onkeypress function and still doesn't work(:|