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.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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.