M
- the model typepublic class GridInlineEditing<M> extends AbstractGridEditing<M>
Constructor and Description |
---|
GridInlineEditing(Grid<M> editableGrid) |
Modifier and Type | Method and Description |
---|---|
void |
cancelEditing()
Cancels an active edit.
|
void |
completeEditing()
Completes the active edit.
|
boolean |
isRevertInvalid()
Returns
true of the editor reverts the value to the start value on invalid. |
void |
setRevertInvalid(boolean revertInvalid)
True to automatically revert the field value and cancel the edit when the user completes an edit and the field
validation fails (defaults to
false ). |
void |
startEditing(Grid.GridCell cell)
Starts editing for the given cell.
|
addBeforeStartEditHandler, addCancelEditHandler, addCompleteEditHandler, addEditor, addEditor, addStartEditHandler, clearEditors, fireEvent, getActiveCell, getClicksToEdit, getConverter, getEditableGrid, getEditor, getMonitorPoll, isEditing, isErrorSummary, isMonitorValid, removeEditor, setClicksToEdit, setEditableGrid, setErrorSummary, setMonitorPoll, setMonitorValid
public void cancelEditing()
GridEditing
cancelEditing
in interface GridEditing<M>
cancelEditing
in class AbstractGridEditing<M>
public void completeEditing()
GridEditing
completeEditing
in interface GridEditing<M>
completeEditing
in class AbstractGridEditing<M>
public boolean isRevertInvalid()
true
of the editor reverts the value to the start value on invalid.public void setRevertInvalid(boolean revertInvalid)
false
).revertInvalid
- true to revertpublic void startEditing(Grid.GridCell cell)
GridEditing
startEditing
in interface GridEditing<M>
startEditing
in class AbstractGridEditing<M>
cell
- the cellCopyright © 2015. All rights reserved.