public interface EditCellListener
Use it to validate entered values.
Modifier and Type | Method and Description |
---|---|
boolean |
onFinishEdit(GridCell cell,
Object newValue)
This method is invoked on finish edit (cell passivation) event.
|
boolean |
onStartEdit(GridCell cell)
This method is invoked on start edit (cell activation) event.
|
boolean onStartEdit(GridCell cell)
cell
- is a cell widget.true
if edit operation can be started. Otherwise the cell
won't be activated.boolean onFinishEdit(GridCell cell, Object newValue)
Listeners can also show alert messages if the cell value is invalid.
cell
- is a cell widget.newValue
- is a new value to be checked.true
if edit operation can be finished. Otherwise the cell
won't be passivated.Copyright © 2008–2013. All rights reserved.