"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Get the page number by row index
*
* @param rowIndex
* @param pageSize
* @category pagination
* @module getPageByRowIndex
*/
var getPageByRowIndex = function (rowIndex, pageSize) { return Math.ceil((rowIndex + 1) / pageSize); };
exports.default = getPageByRowIndex;
Source