public interface DataModelCallbackHandler<T extends GridDataModel>
It describes the method to be invoked by the data model during different user activities.
Modifier and Type | Method and Description |
---|---|
void |
synchronize(T model)
This method should synchronize the data saved in the model with the persistent storage
repository.
|
void synchronize(T model)
NOTE: you must take into account the fact that other grid controls can rise other evets during
synchronization. It's better to lock them and unlock when synchronization is finished. Otherwise
viewed content may be incorrect.
To do lock / unlock operations, use GridPanel.lock()
and
GridPanel.unlock()
methods accordingly. Note, the unlock
method also redraws the panel.
model
- is a model to be used for additional parameters.Copyright © 2008–2013. All rights reserved.