T - the row type of the gridpublic static class Grid.EditorDomEvent<T> extends Grid.GridEvent<T>
Grid editor
.| Modifier | Constructor and Description |
|---|---|
protected |
EditorDomEvent(com.google.gwt.user.client.Event event,
EventCellReference<T> cell,
com.google.gwt.user.client.ui.Widget editorWidget) |
| Modifier and Type | Method and Description |
|---|---|
Grid.Editor<T> |
getEditor()
Returns the editor of the Grid this event originated from.
|
com.google.gwt.user.client.ui.Widget |
getEditorWidget()
Returns the currently focused editor widget.
|
int |
getFocusedColumnIndex()
Returns the DOM column index (excluding hidden columns) the editor
was opened at.
|
int |
getRowIndex()
Returns the row index the editor is open at.
|
getCell, getDomEvent, getGrid, isHandled, setHandledprotected EditorDomEvent(com.google.gwt.user.client.Event event,
EventCellReference<T> cell,
com.google.gwt.user.client.ui.Widget editorWidget)
public Grid.Editor<T> getEditor()
public com.google.gwt.user.client.ui.Widget getEditorWidget()
null if not editablepublic int getRowIndex()
public int getFocusedColumnIndex()
Copyright © 2018 Vaadin Ltd. All rights reserved.