Class CheckBoxColumn<T>

    • Method Detail

      • getModelObjectToken

        protected abstract Serializable getModelObjectToken​(IModel<T> model)
        Generates a token from the model object that will represent the selected state of this row. The implementation should usually return a primary key of the object inside the provided model. Example: return ((User)model.getObject()).getId();
        Parameters:
        model - model that contains an object bound to current row of the table
        Returns:
        a token which will uniquely identify the selection of this row