I am testing out a ListGrid on an IPad and have editOnFocus set to true. Right now it seems that when I click a cell, the text is highlighted, but I still have to click the cell again to get inside of the TextItem for editing. I was wondering if there was a way to automatically get a handle to the TextItem and programmatically place the cursor inside of it.
My best attempt is the following, but the formItem is always coming back null:
Any help is appreciated. Thanks.
My best attempt is the following, but the formItem is always coming back null:
Code:
grid.addEditorEnterHandler(new EditorEnterHandler() { @Override public void onEditorEnter(EditorEnterEvent event) { //formItem is always null FormItem formItem = grid.getEditFormItem(event.getColNum()); } });
Any help is appreciated. Thanks.
Comment