public interface GridListener
Modifier and Type | Method and Description |
---|---|
void |
onClear(GridDataModel dataModel)
This method is invoked on grid cler operation.
|
void |
onSave(GridDataModel dataModel)
This method in invoked on save opeartion.
|
void |
onSort(HeaderCell cell,
GridDataModel dataModel)
This method is invoked on column sort event.
|
void onSort(HeaderCell cell, GridDataModel dataModel)
cell
- is a header cell widget.dataModel
- is a data model to be updated.void onSave(GridDataModel dataModel)
Listeners should persist changes because as soon as this method in invoked the change hsitory will be destroyed.
dataModel
- is a data model.void onClear(GridDataModel dataModel)
Listeners don't have to persist changes since the history will be keeped. In case if you decide persist changes, don't forget to clear the history manually.
dataModel
- is a data model.Copyright © 2008–2013. All rights reserved.