endSlice (endSlice) {
        if (!arguments.length) {
            return this._endSlice;
        }
        this._endSlice = endSlice;
        return this;
    }
Get or set the index of the end slice which determines which entries get displayed by the widget.
Useful when implementing pagination.
@param {Number} [endSlice]
@returns {Number|DataGrid}