The issue is due to CellTree preventing the default browser event on space.
The reason for that is to prevent scrolling.
You can listen for KEYDOWN in TextInputCells and then add the space in the
input manually. As to how to get the input element, you can traverse the
DOM from the parent
I am facing the same issue and cannot figure out how the original poster
set up event handling to get this working. Any help would be greatly
appreciated. Right now my CellTree with TextInputCells will not accepts
spaces.
On Wednesday, August 29, 2012 5:30:10 AM UTC-5, BhaskerT wrote:
Hi
Hi James,
Thanks for the post and reply.
I am facing similar issue. I am not able to type the white space character
in the MyEditCell extends AbstractInputCell.
i have also over ridden the below method:
*public* SetString getConsumedEvents() {
SetString events = *new* HashSetString();
Looks like it boils down to events. After looking at the TextInputCell
and AbstractInputCell source, I added focus and change events to
the list of events consumed by the CompositeCell, and that addressed
both issues.
Incidentally, I tried out the EditTextCell in the CompositeCell, and
to get
Hi all-
I feel like I'm missing something obvious here, but I haven't been
able to figure this out. In short, I have a CellTree whose leaf nodes
are populated with CompositeCells. Each CompositeCell has an
ImageResourceCell, a TextCell, and a TextInputCell. These are
displaying in the tree