Interface FocusPreservingRefreshClientRpc
- All Superinterfaces:
com.vaadin.shared.communication.ClientRpc
,Serializable
public interface FocusPreservingRefreshClientRpc
extends com.vaadin.shared.communication.ClientRpc
Provides rpc-methods to save and restore the current focus of the grid. This
is needed to preserve the current focus when issuing a full rerendering of
the grid.
- save the current focus using
saveFocus()
- rerender the grid
- restore the current focus using
restoreFocus()
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Restores the grid's focus from extension's internal state.void
Saves the grid's current focus in this extension's internal state.
-
Method Details
-
saveFocus
void saveFocus()Saves the grid's current focus in this extension's internal state. -
restoreFocus
void restoreFocus()Restores the grid's focus from extension's internal state.
-