public class GridListenerAdapter extends Object implements GridListener
Constructor and Description |
---|
GridListenerAdapter() |
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.
|
public void onSort(HeaderCell cell, GridDataModel dataModel)
onSort
in interface GridListener
cell
- is a header cell widget.dataModel
- is a data model to be updated.public void onSave(GridDataModel dataModel)
Listeners should persist changes because as soon as this method in invoked the change hsitory will be destroyed.
onSave
in interface GridListener
dataModel
- is a data model.public 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.
onClear
in interface GridListener
dataModel
- is a data model.Copyright © 2008–2013. All rights reserved.