Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tree startEditing by pressing a key...

14 views
Skip to first unread message

knallkopf66

unread,
Jan 2, 2010, 4:26:38 PM1/2/10
to

Hi, i am trying to bring a treecell into edit mode by pressing a key
on the keyboard.
with mouse doubleclick it works, but not with a key.

is there a default key to bring a cell to edit mode?

if not i was trying this, but it does not work...

Tree keypress event handler:

if (event.keyCode == 13) // pressing retourn
{
// start editing mode, current row index, and myColumn
event.target.startEditing(event.target.currentIndex, myColumn);

}

please help.
thanks a lot.

Alex Vincent

unread,
Jan 19, 2010, 3:22:26 PM1/19/10
to
0 new messages