com.vaadin.client.connectors.data.

Class DataCommunicatorConnector

    • Constructor Detail

      • DataCommunicatorConnector

        public DataCommunicatorConnector()
    • Method Detail

      • extend

        protected void extend​(ServerConnector target)

        Description copied from class: AbstractExtensionConnector

        Called when the extension is attached to its parent. This method is only called once as an extension cannot be moved from one parent to another.

        Specified by:

        extend in class AbstractExtensionConnector

        Parameters:

        target - The connector this extension extends

      • onRowDataUpdate

        protected void onRowDataUpdate​(elemental.json.JsonObject newRowData,
                                       elemental.json.JsonObject oldRowData)

        Called row updates from server side.

        This method exists for making it possible to copy data from the old object to the new one, if e.g. some data is not available in the server side when doing updates and would be missed otherwise.

        Parameters:

        newRowData - the new row data

        oldRowData - the previous row data

        Since:

        8.1