com.vaadin.shared.ui.grid
Interface EditorServerRpc

All Superinterfaces:
java.io.Serializable, ServerRpc

public interface EditorServerRpc
extends ServerRpc

An RPC interface for the grid editor client-to-server communications.

Since:
7.4
Author:
Vaadin Ltd

Method Summary
 void bind(int rowIndex)
          Asks the server to open the editor and bind data to it.
 void cancel(int rowIndex)
          Tells the server to cancel editing.
 void save(int rowIndex)
          Asks the server to save unsaved changes in the editor to the data source.
 

Method Detail

bind

void bind(int rowIndex)
Asks the server to open the editor and bind data to it. When a bind request is sent, it must be acknowledged with a confirm call before the client can open the editor.

Parameters:
rowIndex - the index of the edited row

save

void save(int rowIndex)
Asks the server to save unsaved changes in the editor to the data source. When a save request is sent, it must be acknowledged with a confirm call.

Parameters:
rowIndex - the index of the edited row

cancel

void cancel(int rowIndex)
Tells the server to cancel editing. When sending a cancel request, the client does not need to wait for confirmation by the server before hiding the editor.

Parameters:
rowIndex - the index of the edited row


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.