Lines Matching refs:row

5333   for (var row = range.from.row; row <= range.to.row; row++) {
5335 if (!classes[row]) {
5336 classes[row] = [];
5338 classes[row][col] = callback(row, col);
5346 if (range.from.row == range.to.row && range.from.col == range.to.col) {
5347 …applyAlignClassName(range.from.row, range.from.col, type, alignment, cellDescriptor, propertySette…
5349 for (var row = range.from.row; row <= range.to.row; row++) {
5351 applyAlignClassName(row, col, type, alignment, cellDescriptor, propertySetter);
5357 function applyAlignClassName(row, col, type, alignment, cellDescriptor, propertySetter) {
5358 var cellMeta = cellDescriptor(row, col);
5369 propertySetter(row, col, 'className', className);
5376 range.forAll(function (row, col) {
5377 if (comparator(row, col)) {
6852 BaseEditor.prototype.prepare = function (row, col, prop, td, originalValue, cellProperties) {
6854 this.row = row;
6900 selection = [this.row, this.col, null, null];
6910 this.instance.view.scrollViewport(new _src.CellCoords(this.row, this.col));
6924 this.instance.runHooks('afterBeginEditing', this.row, this.col);
6999 this.instance.selectCell(this.row, this.col);
7041 if (this.row < this.instance.getSettings().fixedRowsTop) {
7047 …} else if (this.instance.getSettings().fixedRowsBottom && this.row >= totalRows - this.instance.ge…
11618 function CellCoords(row, col) {
11621 if (typeof row !== 'undefined' && typeof col !== 'undefined') {
11622 this.row = row;
11625 this.row = null;
11642 if (this.row < 0 || this.col < 0) {
11646 …if (this.row >= wotInstance.getSetting('totalRows') || this.col >= wotInstance.getSetting('totalCo…
11667 return this.row === cellCoords.row && this.col === cellCoords.col;
11680 return this.row >= testedCoords.row && this.col >= testedCoords.col;
11693 return this.row <= testedCoords.row && this.col <= testedCoords.col;
11706 return this.row >= testedCoords.row && this.col <= testedCoords.col;
11719 return this.row <= testedCoords.row && this.col >= testedCoords.col;
11932 row: this.row,
11939 row: this.row,
11946 row: this.row,
11953 row: this.row,
11960 row: this.row,
11966 editedCell = this.instance.getCell(this.row, this.col);
11975 var sourceData = this.instance.getSourceDataAtCell(this.row, this.prop);
14246 if (selection.isSelected() && priv.selRange.from.row >= index) {
14247 priv.selRange.from.row += delta;
14258 for (var row = 0, len = instance.countSourceRows(); row < len; row++) {
14259 if (priv.cellSettings[row]) {
14260 spliceWith(priv.cellSettings[row], index, amount);
14391 var fromRow = priv.selRange.from.row;
14393 var toRow = priv.selRange.to.row;
14473 row: end === null ? null : end.row,
14482 repeatRow = end ? end.row - start.row + 1 : 0;
14491 input[c].unshift(start.col + c, start.row, 0);
14504 repeatRow = end ? end.row - start.row + 1 : 0;
14512 input[r].unshift(start.row + r, start.col, 0);
14517 input[r % rlen][0] = start.row + r;
14526 current.row = start.row;
14530 row: end && start ? end.row - start.row + 1 : 1,
14538 var getInputValue = function getInputValue(row) {
14541 var rowValue = input[row % input.length];
14550 var rowSelectionLength = end ? end.row - start.row + 1 : 0;
14558 …rent.row > end.row && rowSelectionLength > rowInputLength || !priv.settings.allowInsertRow && curr…
14571 cellMeta = instance.getCellMeta(current.row, current.col);
14575 current.row++;
14586 cellMeta = instance.getCellMeta(current.row, current.col);
14601 var orgValue = instance.getDataAtCell(current.row, current.col);
14603 row: visualRow,
14632 setData.push([current.row, current.col, value]);
14637 current.row++;
14740 row: null,
14748 newRangeCoords.row = coords.row < 0 ? firstVisibleRow : coords.row;
14751 priv.selRange.to = new _src.CellCoords(newRangeCoords.row, newRangeCoords.col);
14759 …disableVisualSelection = instance.getCellMeta(priv.selRange.highlight.row, priv.selRange.highlight…
14785 …tance.runHooks('afterSelection', priv.selRange.from.row, priv.selRange.from.col, priv.selRange.to.
14786 …afterSelectionByProp', priv.selRange.from.row, datamap.colToProp(priv.selRange.from.col), priv.sel…
14788 …if (priv.selRange.from.row === 0 && priv.selRange.to.row === instance.countRows() - 1 && instance.…
14792 if (coords.row < 0 || coords.col < 0) {
14848 …riv.selRange.to.col === priv.selRange.from.col && priv.selRange.to.row === priv.selRange.from.row),
14874 if (priv.selRange.highlight.row + rowDelta > totalRows - 1) {
14875 ….settings.minSpareRows > 0 && !(fixedRowsBottom && priv.selRange.highlight.row >= totalRows - fixe…
14879 delta.row = 1 - totalRows;
14882 …} else if (priv.settings.autoWrapCol && priv.selRange.highlight.row + delta.row < 0 && priv.selRan…
14883 delta.row = totalRows - 1;
14892 delta.row = priv.selRange.highlight.row + delta.row == totalRows - 1 ? 1 - totalRows : 1;
14895 …w && priv.selRange.highlight.col + delta.col < 0 && priv.selRange.highlight.row + delta.row >= 0) {
14896 delta.row = priv.selRange.highlight.row + delta.row == 0 ? totalRows - 1 : -1;
14900 …coords = new _src.CellCoords(priv.selRange.highlight.row + delta.row, priv.selRange.highlight.col …
14902 if (coords.row < 0) {
14904 coords.row = 0;
14905 } else if (coords.row > 0 && coords.row >= totalRows) {
14907 coords.row = totalRows - 1;
14937 … coords = new _src.CellCoords(priv.selRange.to.row + delta.row, priv.selRange.to.col + delta.col);
14939 if (coords.row < 0) {
14941 coords.row = 0;
14942 } else if (coords.row > 0 && coords.row >= totalRows) {
14944 coords.row = totalRows - 1;
15031 for (r = topLeft.row; r <= bottomRight.row; r++) {
15100 var row = changes[i][0];
15103 var cellProperties = instance.getCellMeta(row, col);
15144 var cell = instance.getCell(cellProperties.row, cellProperties.col);
15245 row = cellProperties.visualRow,
15246 td = instance.getCell(row, col, true);
15249 instance.view.wt.wtSettings.settings.cellRenderer(row, col, td);
15285 function setDataInputToArray(row, propOrCol, value) {
15286 if ((typeof row === 'undefined' ? 'undefined' : _typeof(row)) === 'object') {
15288 return row;
15290 return [[row, propOrCol, value]];
15307 this.setDataAtCell = function (row, col, value, source) {
15308 var input = setDataInputToArray(row, col, value),
15325 if (!source && (typeof row === 'undefined' ? 'undefined' : _typeof(row)) === 'object') {
15349 this.setDataAtRowProp = function (row, prop, value, source) {
15350 var input = setDataInputToArray(row, prop, value),
15359 if (!source && (typeof row === 'undefined' ? 'undefined' : _typeof(row)) === 'object') {
15447 …this.populateFromArray = function (row, col, input, endRow, endCol, source, method, direction, del…
15455 …return grid.populateFromArray(new _src.CellCoords(row, col), input, c, source, method, direction, …
15498 this.spliceRow = function (row, index, amount /* , elements... */) {
15516 …return [priv.selRange.from.row, priv.selRange.from.col, priv.selRange.to.row, priv.selRange.to.col…
15580 var row;
15587 row = (0, _object.deepClone)(dataSchema);
15588 data.push(row);
15590 row = (0, _object.deepClone)(dataSchema[0]);
15591 data.push(row);
15593 row = [];
15596 row.push(null);
15599 data.push(row);
15687 this.getCopyableData = function (row, column) {
15688 return datamap.getCopyable(row, datamap.colToProp(column));
15815 instance.setCellMetaObject(cell.row, cell.col, cell);
16016 this.getCell = function (row, col, topmost) {
16017 return instance.view.getCellAtCoords(new _src.CellCoords(row, col), topmost);
16066 this.toVisualRow = function (row) {
16067 return recordTranslator.toVisualRow(row);
16094 this.toPhysicalRow = function (row) {
16095 return recordTranslator.toPhysicalRow(row);
16124 this.getDataAtCell = function (row, col) {
16125 return datamap.get(row, datamap.colToProp(col));
16137 this.getDataAtRowProp = function (row, prop) {
16138 return datamap.get(row, prop);
16250 this.getSourceDataAtRow = function (row) {
16251 return dataSource.getAtRow(row);
16265 this.getSourceDataAtCell = function (row, column) {
16266 return dataSource.getAtCell(row, column);
16279 this.getDataAtRow = function (row) {
16280 …var data = datamap.getRange(new _src.CellCoords(row, 0), new _src.CellCoords(row, this.countCols()…
16319 (0, _number.rangeEach)(Math.min(rowFrom, rowTo), Math.max(rowFrom, rowTo), function (row) {
16323 var cellType = _this.getCellMeta(row, column);
16354 this.removeCellMeta = function (row, col, key) {
16355 var _recordTranslator$toP = recordTranslator.toPhysical(row, col),
16362 var hookResult = instance.runHooks('beforeRemoveCellMeta', row, col, key, cachedValue);
16367 instance.runHooks('afterRemoveCellMeta', row, col, key, cachedValue);
16401 this.setCellMetaObject = function (row, col, prop) {
16406 this.setCellMeta(row, col, key, value);
16424 this.setCellMeta = function (row, col, key, val) {
16425 var _recordTranslator$toP3 = recordTranslator.toPhysical(row, col),
16441 instance.runHooks('afterSetCellMeta', row, col, key, val);
16465 this.getCellMeta = function (row, col) {
16469 var _recordTranslator$toP5 = recordTranslator.toPhysical(row, col),
16487 cellProperties.row = physicalRow;
16489 cellProperties.visualRow = row;
16494 instance.runHooks('beforeGetCellMeta', row, col, cellProperties);
16506 instance.runHooks('afterGetCellMeta', row, col, cellProperties);
16520 this.getCellMetaAtRow = function (row) {
16521 return priv.cellSettings[row];
16544 this.getCellRenderer = function (row, col) {
16545 return (0, _renderers.getRenderer)(rendererLookup.call(this, row, col));
16570 this.getCellValidator = function (row, col) {
16571 var validator = validatorLookup.call(this, row, col);
16629 this.getRowHeader = function (row) {
16632 if (row !== void 0) {
16633 row = instance.runHooks('modifyRowHeader', row);
16635 if (row === void 0) {
16640 } else if (Array.isArray(rowHeader) && rowHeader[row] !== void 0) {
16641 rowHeader = rowHeader[row];
16643 rowHeader = rowHeader(row);
16645 rowHeader = row + 1;
16812 this._getRowHeightFromSettings = function (row) {
16825 height = height[row];
16829 height = height(row);
16852 this.getRowHeight = function (row) {
16853 var height = instance._getRowHeightFromSettings(row);
16855 height = instance.runHooks('modifyRowHeight', height, row);
17031 row;
17034 row = instance.runHooks('modifyRow', i);
17036 if (instance.isEmptyRow(row)) {
17083 this.isEmptyRow = function (row) {
17084 return priv.settings.isEmptyRow.call(instance, row);
17114 this.selectCell = function (row, col, endRow, endCol, scrollToCell, changeListener) {
17119 if (typeof row !== 'number' || row < 0 || row >= instance.countRows()) {
17133 coords = new _src.CellCoords(row, col);
17163 this.selectCellByProp = function (row, prop, endRow, endProp, scrollToCell) {
17197 this.scrollViewportTo = function (row, column) {
17201 if (row !== void 0 && (row < 0 || row >= instance.countRows())) {
17210 if (row !== void 0 && column !== void 0) {
17211 instance.view.wt.wtOverlays.topOverlay.scrollTo(row, snapToBottom);
17216 if (typeof row === 'number' && typeof column !== 'number') {
17217 instance.view.wt.wtOverlays.topOverlay.scrollTo(row, snapToBottom);
17221 if (typeof column === 'number' && typeof row !== 'number') {
17539 var row = [];
17542 row.push(spreadsheetColumnLabel(j) + (i + 1));
17544 _rows.push(row);
17566 var row = {};
17569 row['prop' + j] = spreadsheetColumnLabel(j) + (i + 1);
17571 _rows.push(row);
17586 var row = void 0;
17589 row = [];
17591 row.push('');
17593 data.push(row);
17641 return function cellMethodLookup(row, col) {
17666 }(typeof row == 'number' ? this.getCellMeta(row, col) : row);
17786 value: function addRow(row, samples) {
17793 var rowObject = { row: row };
17799 this.table.tr.appendChild(this.createRow(row));
17813 var rowObject = { row: -1 };
17871 (0, _array.arrayEach)(this.rows, function (row) {
17873 callback(row.row, (0, _element.outerHeight)(row.table) - 1);
17987 value: function createRow(row) {
17995 this.hot.view.appendRowHeader(row, th);
18003 var cellProperties = _this2.hot.getCellMeta(row, column);
18006 cellProperties.row = row;
18011 … renderer(_this2.hot, td, row, column, _this2.hot.colToProp(column), string.value, cellProperties);
18063 var row = string.row;
18064 var cellProperties = _this4.hot.getCellMeta(row, column);
18067 cellProperties.row = row;
18073 … renderer(_this4.hot, td, row, column, _this4.hot.colToProp(column), string.value, cellProperties);
18348 return this.from.row === this.to.row && this.from.col === this.to.col;
18360 return Math.max(this.from.row, this.to.row) - Math.min(this.from.row, this.to.row) + 1;
18385 var row = cellCoords.row,
18391 …return topLeft.row <= row && bottomRight.row >= row && topLeft.col <= col && bottomRight.col >= co…
18417row, this.to.row) == Math.min(testedRange.from.row, testedRange.to.row) && Math.max(this.from.row,…
18469 …if (cellCoords.row < topLeft.row || cellCoords.col < topLeft.col || cellCoords.row > bottomRight.r…
18470 …this.from = new _coords2.default(Math.min(topLeft.row, cellCoords.row), Math.min(topLeft.col, cell…
18471 …this.to = new _coords2.default(Math.max(bottomRight.row, cellCoords.row), Math.max(bottomRight.col…
18499 var resultTopRow = Math.min(topLeft.row, expandingTopLeft.row);
18501 var resultBottomRow = Math.max(bottomRight.row, expandingBottomRight.row);
18514 if (this.from.row > finalFrom.row) {
18515 finalFrom.row = resultBottomRow;
18516 finalTo.row = resultTopRow;
18593 …return new _coords2.default(Math.min(this.from.row, this.to.row), Math.min(this.from.col, this.to.…
18605 …return new _coords2.default(Math.max(this.from.row, this.to.row), Math.max(this.from.col, this.to.…
18617 …return new _coords2.default(Math.min(this.from.row, this.to.row), Math.max(this.from.col, this.to.…
18629 …return new _coords2.default(Math.max(this.from.row, this.to.row), Math.min(this.from.col, this.to.…
18643row, expandedRange.from.col)) || this.getTopRightCorner().isEqual(new _coords2.default(expandedRan…
18667 …if (this.getTopLeftCorner().isEqual(new _coords2.default(expandedRange.from.row, expandedRange.fro…
18670 …if (this.getTopRightCorner().isEqual(new _coords2.default(expandedRange.from.row, expandedRange.to…
18673 …if (this.getBottomLeftCorner().isEqual(new _coords2.default(expandedRange.to.row, expandedRange.fr…
18676 …if (this.getBottomRightCorner().isEqual(new _coords2.default(expandedRange.to.row, expandedRange.t…
18706 top: Math.min(this.from.row, this.to.row),
18707 bottom: Math.max(this.from.row, this.to.row),
18712 top: Math.min(range.from.row, range.to.row),
18713 bottom: Math.max(range.from.row, range.to.row),
18748 for (var r = topLeft.row; r <= bottomRight.row; r++) {
18750 … if (!(this.from.row === r && this.from.col === c) && !(this.to.row === r && this.to.col === c)) {
18771 for (var r = topLeft.row; r <= bottomRight.row; r++) {
18773 if (topLeft.row === r && topLeft.col === c) {
18775 } else if (bottomRight.row === r && bottomRight.col === c) {
18799 for (var r = topLeft.row; r <= bottomRight.row; r++) {
19966 enterMoves: { row: 1, col: 0 },
19977 tabMoves: { row: 0, col: 1 },
20102 isEmptyRow: function isEmptyRow(row) {
20106 value = this.getDataAtCell(row, col);
20110 meta = this.getCellMeta(row, col);
20130 var row, rowLen, value;
20132 for (row = 0, rowLen = this.countRows(); row < rowLen; row++) {
20133 value = this.getDataAtCell(row, col);
24043 value: function isPartRange(row, col) {
24045 …if (row != this.wot.selections.area.cellRange.to.row || col != this.wot.selections.area.cellRange.…
24054 value: function updateMultipleSelectionHandlesPosition(row, col, top, left, width, height) {
24074 if (this.isPartRange(row, col)) {
24088 …if (row == this.wot.wtSettings.getSetting('fixedRowsTop') || col == this.wot.wtSettings.getSetting…
24932 if (coords.row < fixedRowsTop && coords.col < fixedColumns) {
24934 } else if (coords.row < fixedRowsTop) {
24936 } else if (coords.col < fixedColumns && coords.row >= totalRows - fixedRowsBottom) {
24942 } else if (coords.row < totalRows && coords.row > totalRows - fixedRowsBottom) {
24972 value: function scrollVertical(row) {
24973 this.wtOverlays.topOverlay.scrollTo(row);
26521 if (coords.row < 0 || coords.row > Math.max(totalRows - 1, 0)) {
26522 throw new Error('row ' + coords.row + ' does not exist');
26529 if (coords.row >= fixedRowsTop && coords.row < this.getFirstVisibleRow()) {
26530 topOverlay.scrollTo(coords.row);
26531 … } else if (coords.row > this.getLastVisibleRow() && coords.row < totalRows - fixedRowsBottom) {
26532 topOverlay.scrollTo(coords.row, true);
26572 (0, _number.rangeEachReverse)(totalRows, 1, function (row) {
26573 rowsHeight += topOverlay.sumCellSizes(row - 1, row);
26577 firstVisibleRow = row;
26614 (0, _number.rangeEach)(1, totalRows, function (row) {
26615 rowsHeight += topOverlay.sumCellSizes(row - 1, row);
26619 lastVisibleRow = row - 2;
26827 cellRenderer: function cellRenderer(row, column, TD) {
26828 var cellData = _this.getSetting('data', row, column);
26837 rowHeight: function rowHeight(row) {
27363 if (this.isRowBeforeRenderedRows(coords.row)) {
27366 } else if (this.isRowAfterRenderedRows(coords.row)) {
27371 var TR = this.TBODY.childNodes[this.rowFilter.sourceToRendered(coords.row)];
27407 value: function getRowHeader(row) {
27411 var TR = this.TBODY.childNodes[this.rowFilter.sourceToRendered(row)];
27438 var row = (0, _element.index)(TR);
27443 row -= CONTAINER.childNodes.length;
27446 row = this.rowFilter.visibleColHeadedRowToSourceRow(row);
27448 row = this.rowFilter.renderedToSource(row);
27457 return new _coords2.default(row, col);
27461 value: function getTrForRow(row) {
27462 return this.TBODY.childNodes[this.rowFilter.sourceToRendered(row)];
27521 value: function isRowBeforeRenderedRows(row) {
27522 return this.rowFilter && this.rowFilter.sourceToRendered(row) < 0 && row >= 0;
27526 value: function isRowAfterViewport(row) {
27527 return this.rowFilter && this.rowFilter.sourceToRendered(row) > this.getLastVisibleRow();
27531 value: function isRowAfterRenderedRows(row) {
27532 return this.rowFilter && this.rowFilter.sourceToRendered(row) > this.getLastRenderedRow();
28241 value: function renderRowHeader(row, col, TH) {
28244 this.rowHeaders[col](row, TH, col);
28254 value: function renderRowHeaders(row, TR) {
28263 this.renderRowHeader(row, visibleColIndex, TH);
28386 value: function renderColumnHeader(row, col, TH) {
28390 return this.columnHeaders[row](col, TH, row);
29118 afterRenderer: function afterRenderer(TD, row, col, prop, value, cellProperties) {
29245 row: 0,
29446 …var selected = { row: this.htEditor.getSelectedRange() ? this.htEditor.getSelectedRange().from.row
29449 …if (keyCode === _unicode.KEY_CODES.ARROW_DOWN && selected.row > 0 && selected.row < this.htEditor.…
29452 if (keyCode === _unicode.KEY_CODES.ARROW_UP && selected.row > -1) {
29509 HandsontableEditor.prototype.prepare = function (td, row, col, prop, value, cellProperties) {
29525 var value = this.getSourceData(coords.row, coords.col);
29823 this._arrayMap = (0, _array.arrayMap)(this._arrayMap, function (row) {
29824 if (row >= index) {
29825 row += amount;
29828 return row;
30336 value: function toVisualRow(row) {
30337 return this.hot.runHooks('unmodifyRow', row);
30364 value: function toVisual(row, column) {
30367 if ((0, _object.isObject)(row)) {
30369 row: this.toVisualRow(row.row),
30370 column: this.toVisualColumn(row.column)
30373 result = [this.toVisualRow(row), this.toVisualColumn(column)];
30388 value: function toPhysicalRow(row) {
30389 return this.hot.runHooks('modifyRow', row);
30416 value: function toPhysical(row, column) {
30419 if ((0, _object.isObject)(row)) {
30421 row: this.toPhysicalRow(row.row),
30422 column: this.toPhysicalColumn(row.column)
30425 result = [this.toPhysicalRow(row), this.toPhysicalColumn(column)];
32906 return [topLeft.row, topLeft.col, bottomRight.row, bottomRight.col];
32975 for (var row = 0; row < renderedRows; row++) {
32976 sourceRow = wotInstance.wtTable.rowFilter.renderedToSource(row);
33462 var row,
33483 row = (0, _object.deepClone)(this.getSchema());
33485 row = [];
33488 return row.push(null);
33492 row = this.instance.getSettings().dataSchema(index);
33494 row = {};
33495 (0, _object.deepExtend)(row, this.getSchema());
33499 this.dataSource.push(row);
33501 this.spliceData(index, 0, row);
33720 DataMap.prototype.spliceRow = function (row, index, amount /* , elements... */) {
33723 var rowData = this.instance.getSourceDataAtRow(row);
33733 this.instance.populateFromArray(row, index, [elements], null, null, 'spliceRow');
33765 var newData = this.dataSource.filter(function (row, index) {
33779 DataMap.prototype.get = function (row, prop) {
33780 row = this.instance.runHooks('modifyRow', row);
33782 var dataRow = this.dataSource[row];
33784 var modifiedRowData = this.instance.runHooks('modifyRowData', row);
33823 value = prop(this.dataSource.slice(row, row + 1)[0]);
33829 this.instance.runHooks('modifyData', row, this.propToCol(prop), valueHolder, 'get');
33848 DataMap.prototype.getCopyable = function (row, prop) {
33849 if (copyableLookup.call(this.instance, row, this.propToCol(prop))) {
33850 return this.get(row, prop);
33863 DataMap.prototype.set = function (row, prop, value, source) {
33864 row = this.instance.runHooks('modifyRow', row, source || 'datamapGet');
33866 var dataRow = this.dataSource[row];
33868 var modifiedRowData = this.instance.runHooks('modifyRowData', row);
33876 this.instance.runHooks('modifyData', row, this.propToCol(prop), valueHolder, 'set');
33901 prop(this.dataSource.slice(row, row + 1)[0], value);
33922 var row;
33925 row = this.instance.runHooks('modifyRow', physicRow);
33926 logicRows.push(row);
34006 (0, _number.rangeEach)(length - 1, function (row) {
34007 row = _this2.instance.runHooks('modifyRow', row);
34009 if (row === null) {
34031 row: 0,
34036 row: Math.max(this.instance.countSourceRows() - 1, 0),
34040 if (start.row - end.row === 0 && !this.instance.countSourceRows()) {
34061 row;
34072 rlen = Math.min(Math.max(maxRows - 1, 0), Math.max(start.row, end.row));
34075 for (r = Math.min(start.row, end.row); r <= rlen; r++) {
34076 row = [];
34084 row.push(getFn.call(this, r, this.colToProp(c)));
34087 output.push(row);
34217 …result = this.getByRange({ row: 0, col: 0 }, { row: Math.max(this.countRows() - 1, 0), col: Math.m…
34249 (0, _array.arrayEach)(this.data, function (row) {
34253 row = (0, _object.getProperty)(row, property);
34255 row = row[property];
34257 result.push(row);
34272 value: function getAtRow(row) {
34273 return this.data[row];
34286 value: function getAtCell(row, column) {
34289 var modifyRowData = this.hot.runHooks('modifyRowData', row);
34291 var dataRow = isNaN(modifyRowData) ? modifyRowData : this.data[row];
34299 result = prop(this.data.slice(row, row + 1)[0]);
34325 var startRow = Math.min(start.row, end.row);
34327 var endRow = Math.max(start.row, end.row);
34332 var row = _this2.getAtRow(currentRow);
34336 newRow = row.slice(startCol, endCol + 1);
34344 newRow.push(row[prop]);
34346 newRow[prop] = row[prop];
34447 selection.transformStart(-enterMoves.row, -enterMoves.col);
34450 selection.transformStart(enterMoves.row, enterMoves.col, true);
34587 selection.transformStart(-tabMoves.row, -tabMoves.col);
34590 selection.transformStart(tabMoves.row, tabMoves.col, true);
34646 rangeModifier(new _src.CellCoords(priv.selRange.from.row, 0));
34657 rangeModifier(new _src.CellCoords(priv.selRange.from.row, instance.countCols() - 1));
34736 var row, col, prop, td, originalValue, cellProperties, editorClass;
34747 row = priv.selRange.highlight.row;
34750 td = instance.getCell(row, col);
34752 originalValue = instance.getSourceDataAtCell(instance.runHooks('modifyRow', row), col);
34753 cellProperties = instance.getCellMeta(row, col);
34758 activeEditor.prepare(row, col, prop, td, originalValue, cellProperties);
35063 value: function prepare(row, col, prop, td, originalValue, cellProperties) {
35065 …| Object.getPrototypeOf(DateEditor.prototype), 'prepare', this).call(this, row, col, prop, td, ori…
35297 value: function prepare(row, col, prop, td, originalValue, cellProperties) {
35298 …ject.getPrototypeOf(DropdownEditor.prototype), 'prepare', this).call(this, row, col, prop, td, ori…
35307 _pluginHooks2.default.getSingleton().add('beforeValidate', function (value, row, col, source) {
35308 var cellMeta = this.getCellMeta(row, this.propToCol(col));
35535 this.row = selected[0];
35826 options = this.prepareOptions(selectOptions(this.row, this.col, this.prop));
35912 var sourceData = this.instance.getSourceDataAtCell(this.row, this.prop);
36002 row: this.row,
36009 row: this.row,
36016 row: this.row,
36022 editedCell = this.instance.getCell(this.row, this.col);
36672 _this.samplesGenerator = new _samplesGenerator2.default(function (row, col) {
36673 return _this.hot.getDataAtCell(row, col);
37139 row = _ref2[0],
37336 _this.samplesGenerator = new _samplesGenerator2.default(function (row, col) {
37337 if (row >= 0) {
37338 return _this.hot.getDataAtCell(row, col);
37339 } else if (row === -1) {
37358 _this.addHook('beforeRowResize', function (row, size, isDblClick) {
37359 return _this.onBeforeRowResize(row, size, isDblClick);
37413 this.addHook('modifyRowHeight', function (height, row) {
37414 return _this2.getRowHeight(row, height);
37463 (0, _number.rangeEach)(rowRange.from, rowRange.to, function (row) {
37466 if (force || _this3.heights[row] === void 0) {
37467 var _samples = _this3.samplesGenerator.generateRowSamples(row, colRange);
37469 _samples.forEach(function (sample, row) {
37470 _this3.ghostTable.addRow(row, sample);
37475 this.ghostTable.getHeights(function (row, height) {
37476 _this3.heights[row] = height;
37613 value: function getRowHeight(row) {
37618 if (this.heights[row] !== void 0 && this.heights[row] > (defaultHeight || 0)) {
37619 height = this.heights[row];
37704 …_number.rangeEach)(Math.min(range.from, range.to), Math.max(range.from, range.to), function (row) {
37705 _this5.heights[row] = void 0;
37773 value: function onBeforeRowResize(row, size, isDblClick) {
37775 this.calculateRowsHeight(row, void 0, true);
37776 size = this.getRowHeight(row);
38044 … return this.hot.getData(selRange.from.row, selRange.from.col, selRange.to.row, selRange.to.col);
38074 if (startOfDragCoords && startOfDragCoords.row > -1 && startOfDragCoords.col > -1) {
38088 dragLength = endOfDragCoords.row - startOfDragCoords.row + 1;
38107 …this.hot.populateFromArray(startOfDragCoords.row, startOfDragCoords.col, fillData, endOfDragCoords…
38129 if (coords.row < 0) {
38130 coords.row = 0;
38154 …ECTIONS.vertical) && (bottomRightCorner.row < coordsOfSelection.row || topLeftCorner.row > coordsO…
38155 coords = new _src.CellCoords(coordsOfSelection.row, bottomRightCorner.col);
38157 coords = new _src.CellCoords(bottomRightCorner.row, coordsOfSelection.col);
38609 var diffRow = end.row - start.row;
38627 for (var row = 0; row <= diffRow; row++) {
38628 var _startValue = parseInt(data[row][0], 10);
38629 var _endValue = parseInt(data[row][columnsLength - 1], 10);
39723 var delayedOpenSubMenu = (0, _function.debounce)(function (row) {
39724 return _this2.openSubMenu(row);
39742 renderer: function renderer(hot, TD, row, col, prop, value) {
39743 return _this2.menuItemRenderer(hot, TD, row, col, prop, value);
39754 delayedOpenSubMenu(coords.row);
39756 _this2.openSubMenu(coords.row);
39759 rowHeights: function rowHeights(row) {
39760 return filteredItems[row].name === _predefinedItems.SEPARATOR ? 1 : 23;
39818 value: function openSubMenu(row) {
39822 var cell = this.hotMenu.getCell(row, 0);
39829 var dataItem = this.hotMenu.getSourceDataAtRow(row);
39852 value: function closeSubMenu(row) {
39853 var dataItem = this.hotMenu.getSourceDataAtRow(row);
39871 (0, _array.arrayEach)(this.hotMenu.getData(), function (value, row) {
39872 return _this3.closeSubMenu(row);
40092 value: function selectNextCell(row, col) {
40093 var nextRow = row + 1;
40115 value: function selectPrevCell(row, col) {
40116 var prevRow = row - 1;
40137 value: function menuItemRenderer(hot, TD, row, col, prop, value) {
40140 var item = hot.getSourceDataAtRow(row);
40168 TD.appendChild(item.renderer(hot, wrapper, row, col, prop, value));
40191 return hot.selectCell(row, col, void 0, void 0, false, false);
40204 return hot.selectCell(row, col, void 0, void 0, false, false);
40462 …var hasClass = (0, _utils.checkSelectionConsistency)(this.getSelectedRange(), function (row, col) {
40463 var className = _this.getCellMeta(row, col).className;
40480 var stateBefore = (0, _utils.getAlignmentClasses)(range, function (row, col) {
40481 return _this2.getCellMeta(row, col).className;
40487 (0, _utils.align)(range, type, alignment, function (row, col) {
40488 return _this2.getCellMeta(row, col);
40489 }, function (row, col, key, value) {
40490 return _this2.setCellMeta(row, col, key, value);
40502 …var hasClass = (0, _utils.checkSelectionConsistency)(this.getSelectedRange(), function (row, col) {
40503 var className = _this3.getCellMeta(row, col).className;
40520 var stateBefore = (0, _utils.getAlignmentClasses)(range, function (row, col) {
40521 return _this4.getCellMeta(row, col).className;
40527 (0, _utils.align)(range, type, alignment, function (row, col) {
40528 return _this4.getCellMeta(row, col);
40529 }, function (row, col, key, value) {
40530 return _this4.setCellMeta(row, col, key, value);
40542 …var hasClass = (0, _utils.checkSelectionConsistency)(this.getSelectedRange(), function (row, col) {
40543 var className = _this5.getCellMeta(row, col).className;
40560 var stateBefore = (0, _utils.getAlignmentClasses)(range, function (row, col) {
40561 return _this6.getCellMeta(row, col).className;
40567 (0, _utils.align)(range, type, alignment, function (row, col) {
40568 return _this6.getCellMeta(row, col);
40569 }, function (row, col, key, value) {
40570 return _this6.setCellMeta(row, col, key, value);
40582 …var hasClass = (0, _utils.checkSelectionConsistency)(this.getSelectedRange(), function (row, col) {
40583 var className = _this7.getCellMeta(row, col).className;
40600 var stateBefore = (0, _utils.getAlignmentClasses)(range, function (row, col) {
40601 return _this8.getCellMeta(row, col).className;
40607 (0, _utils.align)(range, type, alignment, function (row, col) {
40608 return _this8.getCellMeta(row, col);
40609 }, function (row, col, key, value) {
40610 return _this8.setCellMeta(row, col, key, value);
40624 …var hasClass = (0, _utils.checkSelectionConsistency)(this.getSelectedRange(), function (row, col) {
40625 var className = _this9.getCellMeta(row, col).className;
40641 var stateBefore = (0, _utils.getAlignmentClasses)(range, function (row, col) {
40642 return _this10.getCellMeta(row, col).className;
40648 (0, _utils.align)(range, type, alignment, function (row, col) {
40649 return _this10.getCellMeta(row, col);
40650 }, function (row, col, key, value) {
40651 return _this10.setCellMeta(row, col, key, value);
40663 …var hasClass = (0, _utils.checkSelectionConsistency)(this.getSelectedRange(), function (row, col) {
40664 var className = _this11.getCellMeta(row, col).className;
40681 var stateBefore = (0, _utils.getAlignmentClasses)(range, function (row, col) {
40682 return _this12.getCellMeta(row, col).className;
40688 (0, _utils.align)(range, type, alignment, function (row, col) {
40689 return _this12.getCellMeta(row, col);
40690 }, function (row, col, key, value) {
40691 return _this12.setCellMeta(row, col, key, value);
40703 …var hasClass = (0, _utils.checkSelectionConsistency)(this.getSelectedRange(), function (row, col) {
40704 var className = _this13.getCellMeta(row, col).className;
40721 var stateBefore = (0, _utils.getAlignmentClasses)(range, function (row, col) {
40722 return _this14.getCellMeta(row, col).className;
40728 (0, _utils.align)(range, type, alignment, function (row, col) {
40729 return _this14.getCellMeta(row, col);
40730 }, function (row, col, key, value) {
40731 return _this14.setCellMeta(row, col, key, value);
40766 …this.populateFromArray(0, column, [[null]], Math.max(selection.start.row, selection.end.row), colu…
40892 …tOneReadOnly = (0, _utils.checkSelectionConsistency)(this.getSelectedRange(), function (row, col) {
40893 return _this.getCellMeta(row, col).readOnly;
40906 var atLeastOneReadOnly = (0, _utils.checkSelectionConsistency)(range, function (row, col) {
40907 return _this2.getCellMeta(row, col).readOnly;
40910 range.forAll(function (row, col) {
40911 _this2.setCellMeta(row, col, 'readOnly', !atLeastOneReadOnly);
41004 var amount = selection.end.row - selection.start.row + 1;
41006 this.alter('remove_row', selection.start.row, amount, 'ContextMenu.removeRow');
41041 this.alter('insert_row', selection.start.row, 1, 'ContextMenu.rowAbove');
41075 this.alter('insert_row', selection.end.row + 1, 1, 'ContextMenu.rowBelow');
41412 var startRow = topLeft.row;
41414 var endRow = bottomRight.row;
41458 (0, _number.rangeEach)(range.startRow, range.endRow, function (row) {
41459 if (copyableRows.indexOf(row) === -1) {
41460 copyableRows.push(row);
41470 (0, _array.arrayEach)(copyableRows, function (row) {
41474 rowSet.push(_this3.hot.getCopyableData(row, column));
41502 (0, _number.rangeEach)(range.startRow, range.endRow, function (row) {
41503 if (copyableRows.indexOf(row) === -1) {
41504 copyableRows.push(row);
41514 (0, _array.arrayEach)(copyableRows, function (row) {
41518 rowSet.push(_this4.hot.getCopyableData(row, column));
41692 …End = new _src.CellCoords(Math.max(bottomRightCorner.row, inputArray.length - 1 + topLeftCorner.ro…
41694 var isSelRowAreaCoverInputValue = coordsTo.row - coordsFrom.row >= inputArray.length - 1;
41701 var offset = { row: 0, col: 0 };
41709 offset.row += Math.max(nextChange[0] - change[0] - 1, 0);
41717 …_this6.hot.selectCell(areaStart.row, areaStart.col, areaEnd.row + offset.row, areaEnd.col + offset…
41721 …this.hot.populateFromArray(areaStart.row, areaStart.col, inputArray, areaEnd.row, areaEnd.col, 'Co…
42831 this.addHook('modifyCol', function (row, source) {
42832 return _this2.onModifyCol(row, source);
43271 if (coords.row < 0 && coords.col >= start && coords.col <= end) {
43361 blockCalculations.row = true;
44450 row: void 0
44522 this.addHook('modifyRow', function (row, source) {
44523 return _this2.onModifyRow(row, source);
44540 this.addHook('unmodifyRow', function (row) {
44541 return _this2.onUnmodifyRow(row);
44598 value: function moveRow(row, target) {
44599 this.moveRows([row], target);
44621 (0, _array.arrayEach)(rows, function (row, index, array) {
44622 array[index] = _this3.rowsMapper.getValueByIndex(row);
44626 (0, _array.arrayEach)(rows, function (row, index) {
44627 var actualPosition = _this3.rowsMapper.getIndexByValue(row);
44715 value: function isFixedRowTop(row) {
44716 return row < this.hot.getSettings().fixedRowsTop;
44729 value: function isFixedRowBottom(row) {
44730 return row > this.hot.getSettings().fixedRowsBottom;
44782 var start = Math.min(from.row, to.row);
44783 var end = Math.max(from.row, to.row);
44808 if (coords.row < fixedRows && firstVisible > 0) {
44811 if (coords.row >= lastVisible && lastVisible < countRows) {
44818 var tdOffsetTop = this.hot.view.THEAD.offsetHeight + this.getRowsHeight(0, coords.row);
44825 if (this.isFixedRowTop(coords.row)) {
44834 if (coords.row < 0) {
44836 priv.target.row = firstVisible > 0 ? firstVisible - 1 : firstVisible;
44839 priv.target.row = coords.row + 1;
44841 tdOffsetTop += coords.row === 0 ? TD.offsetHeight - 1 : TD.offsetHeight;
44844 priv.target.row = coords.row;
44868 if (coords.row >= fixedRows && guidelineTop - wtTable.holder.scrollTop < topOverlayHeight) {
44869 this.hot.scrollViewportTo(coords.row);
44991 var start = Math.min(from.row, to.row);
44992 var end = Math.max(from.row, to.row);
44994 if (coords.col < 0 && coords.row >= start && coords.row <= end) {
44995 blockCalculations.row = true;
45006 this.backlight.setOffset((this.getRowsHeight(start, coords.row) + event.layerY) * -1, null);
45068 if (priv.rowsToMove.indexOf(coords.row) > -1) {
45074 blockCalculations.row = true;
45091 var target = priv.target.row;
45213 value: function onModifyRow(row, source) {
45215 var rowInMapper = this.rowsMapper.getValueByIndex(row);
45216 row = rowInMapper === null ? row : rowInMapper;
45219 return row;
45232 value: function onUnmodifyRow(row) {
45233 var indexInMapper = this.rowsMapper.getIndexByValue(row);
45235 return indexInMapper === null ? row : indexInMapper;
45622 this.addHook('modifyRowHeight', function (height, row) {
45623 return _this2.onModifyRowHeight(height, row);
45698 var row = this.hot.view.wt.wtTable.getCoords(TH).row; // getCoords returns CellCoords
45701 if (row >= 0) {
45705 this.currentRow = row;
45713 var start = from.row;
45714 var end = to.row;
45717 start = to.row;
45718 end = from.row;
46045 value: function setManualSize(row, height) {
46046 row = this.hot.runHooks('modifyRow', row);
46047 this.manualRowHeights[row] = height;
46063 value: function onModifyRowHeight(height, row) {
46066 var autoRowHeightResult = autoRowSizePlugin ? autoRowSizePlugin.heights[row] : null;
46068 row = this.hot.runHooks('modifyRow', row);
46070 var manualRowHeight = this.manualRowHeights[row];
46112 collection.getInfo = function (row, col) {
46114 …if (this[i].row <= row && this[i].row + this[i].rowspan - 1 >= row && this[i].col <= col && this[i…
46122 if (this[i].row === info.row && this[i].col === info.col) {
46130 collection.removeInfo = function (row, col) {
46132 if (this[i].row === row && this[i].col === col) {
46177 mergeParent.row = topLeft.row;
46180 mergeParent.rowspan = bottomRight.row - topLeft.row + 1;
46186 var info = this.mergedCellInfoCollection.getInfo(cellRange.from.row, cellRange.from.col);
46201 var info = this.mergedCellInfoCollection.getInfo(cellRange.row, cellRange.col);
46202 this.mergedCellInfoCollection.removeInfo(info.row, info.col);
46205 MergeCells.prototype.applySpanProperties = function (TD, row, col) {
46206 var info = this.mergedCellInfoCollection.getInfo(row, col);
46209 if (info.row === row && info.col === col) {
46226 if (coords.row >= merged.row && coords.row <= merged.row + merged.rowspan - 1) {
46238 …return new _src.CellCoords(currentSelectedRange.to.row + newDelta.row, currentSelectedRange.to.col…
46242 row: delta.row,
46253 …var currentPosition = new _src.CellCoords(currentSelectedRange.highlight.row, currentSelectedRange…
46256 mergedParent = this.mergedCellInfoCollection.getInfo(currentPosition.row, currentPosition.col),
46261 range = new _src.CellCoords(range.row + range.rowspan - 1, range.col + range.colspan - 1);
46270 var mergeTopLeft = new _src.CellCoords(mergedParent.row, mergedParent.col);
46271 …var mergeBottomRight = new _src.CellCoords(mergedParent.row + mergedParent.rowspan - 1, mergedPare…
46278 …newDelta.row = this.lastDesiredCoords.row ? this.lastDesiredCoords.row - currentPosition.row : new…
46281 if (delta.row > 0) {
46283 … newDelta.row = mergedParent.row + mergedParent.rowspan - 1 - currentPosition.row + delta.row;
46284 } else if (delta.row < 0) {
46286 newDelta.row = currentPosition.row - mergedParent.row + delta.row;
46297 …nextPosition = new _src.CellCoords(currentSelectedRange.highlight.row + newDelta.row, currentSelec…
46299 …var nextParentIsMerged = this.mergedCellInfoCollection.getInfo(nextPosition.row, nextPosition.col);
46305 row: nextParentIsMerged.row - currentPosition.row,
46312 var _mergeTopLeft = new _src.CellCoords(currentMerge.row, currentMerge.col);
46313 …var _mergeBottomRight = new _src.CellCoords(currentMerge.row + currentMerge.rowspan - 1, currentMe…
46346 if (newDelta.row < 0) {
46347 newDelta.row -= currentMerge.rowspan - 1;
46348 } else if (newDelta.row > 0) {
46349 newDelta.row += currentMerge.rowspan - 1;
46363 if (newDelta.row !== 0) {
46364 delta.row = newDelta.row;
46402 } else if (index <= currentMerge.row) {
46403 currentMerge.row += shiftVector[1];
46428 … var mergeParent = instance.mergeCells.mergedCellInfoCollection.getInfo(coords.row, coords.col);
46503 var afterRenderer = function afterRenderer(TD, row, col, prop, value, cellProperties) {
46505 this.mergeCells.applySpanProperties(TD, row, col);
46520 if (currentSelectedRange.from.row < 0) {
46521 currentSelectedRange.from.row = 0;
46522 … } else if (currentSelectedRange.from.row > 0 && currentSelectedRange.from.row >= totalRows) {
46523 currentSelectedRange.from.row = currentSelectedRange.from - 1;
46546 …selRange.highlight = new _src.CellCoords(selRange.highlight.row, selRange.highlight.col); // clone…
46555 var mergedCellTopLeft = new _src.CellCoords(cellInfo.row, cellInfo.col);
46556 …var mergedCellBottomRight = new _src.CellCoords(cellInfo.row + cellInfo.rowspan - 1, cellInfo.col …
46560 coords.row = selRange.to.row;
46585 var mergedCellTopLeft = new _src.CellCoords(cellInfo.row, cellInfo.col);
46586 …var mergedCellBottomRight = new _src.CellCoords(cellInfo.row + cellInfo.rowspan - 1, cellInfo.col …
46590 corners[0] = startRange.from.row;
46595 corners[2] = stopRange.from.row;
46603 var afterGetCellMeta = function afterGetCellMeta(row, col, cellProperties) {
46606 var mergeParent = this.mergeCells.mergedCellInfoCollection.getInfo(row, col);
46607 if (mergeParent && (mergeParent.row != row || mergeParent.col != col)) {
46621 if (mergeParent.row < calc.startRow) {
46622 calc.startRow = mergeParent.row;
46628 var mergeEnd = mergeParent.row + mergeParent.rowspan - 1;
46670 …hlight.row == mergedCells[group].row && selectionRange.highlight.col == mergedCells[group].col && …
46687 select[0] = info.row;
46689 select[2] = info.row + info.rowspan - 1;
46706 function onAfterCreateRow(row, count) {
46708 this.mergeCells.shiftCollection('down', row, count);
46712 function onAfterRemoveRow(row, count) {
46714 this.mergeCells.shiftCollection('up', row, count);
46996 start: new _src.CellCoords(currentTouch.row, selectedRange.highlight.col),
46997 end: new _src.CellCoords(bottomLeftCorner.row, currentTouch.col)
47001 start: new _src.CellCoords(selectedRange.highlight.row, currentTouch.col),
47002 end: new _src.CellCoords(currentTouch.row, topLeftCorner.col)
47009 start: new _src.CellCoords(bottomRightCorner.row, currentTouch.col),
47010 end: new _src.CellCoords(currentTouch.row, topLeftCorner.col)
47069 start: new _src.CellCoords(currentTouch.row, topLeftCorner.col),
47070 end: new _src.CellCoords(bottomLeftCorner.row, currentTouch.col)
47074 start: new _src.CellCoords(topLeftCorner.row, currentTouch.col),
47075 end: new _src.CellCoords(currentTouch.row, bottomRightCorner.col)
47085 start: new _src.CellCoords(selectedRange.highlight.row, currentTouch.col),
47086 end: new _src.CellCoords(currentTouch.row, bottomRightCorner.col)
47090 start: new _src.CellCoords(currentTouch.row, topLeftCorner.col),
47091 end: new _src.CellCoords(topLeftCorner.row, currentTouch.col)
47098 start: new _src.CellCoords(currentTouch.row, topRightCorner.col),
47099 end: new _src.CellCoords(topLeftCorner.row, currentTouch.col)
47211 row: rowIndex,
47229 Search.DEFAULT_CALLBACK = function (instance, row, col, data, testResult) {
47230 instance.getCellMeta(row, col).isSearchResult = testResult;
47274 function SearchCellDecorator(instance, TD, row, col, prop, value, cellProperties) {
47286 (0, _renderers.registerRenderer)('base', function (instance, TD, row, col, prop, value, cellPropert…
47319 function cellDecorator(instance, TD, row, col, prop, value, cellProperties) {
47399 function autocompleteRenderer(instance, TD, row, col, prop, value, cellProperties) {
47425 instance.view.wt.getSetting('onCellDblClick', null, new _src.CellCoords(row, col), TD);
47483 function checkboxRenderer(instance, TD, row, col, prop, value, cellProperties) {
47513 input.setAttribute('data-row', row);
47520 …labelText = typeof labelOptions.value === 'function' ? labelOptions.value.call(this, row, col, pro…
47522 labelText = instance.getDataAtRowProp(row, labelOptions.property);
47589 for (var _row = topLeft.row; _row <= bottomRight.row; _row += 1) {
47643 for (var _row2 = topLeft.row; _row2 <= bottomRight.row; _row2++) {
47751 var row = parseInt(event.target.getAttribute('data-row'), 10);
47753 var cellProperties = instance.getCellMeta(row, col);
47773 var row = parseInt(event.target.getAttribute('data-row'), 10);
47775 var cellProperties = instance.getCellMeta(row, col);
47786 instance.setDataAtCell(row, col, newCheckboxValue);
47827 function htmlRenderer(instance, TD, row, col, prop, value, cellProperties) {
47872 function numericRenderer(instance, TD, row, col, prop, value, cellProperties) {
47895 (0, _index.getRenderer)('text')(instance, TD, row, col, prop, value, cellProperties);
47926 function passwordRenderer(instance, TD, row, col, prop, value, cellProperties) {
47972 function textRenderer(instance, TD, row, col, prop, value, cellProperties) {
47991 TEMPLATE.model = instance.getSourceDataAtRow(row);
48258 headerRenderers.push(function (row, TH) {
48259 that.appendRowHeader(row, TH);
48280 cellRenderer: function cellRenderer(row, col, TD) {
48281 var cellProperties = that.instance.getCellMeta(row, col);
48283 var value = that.instance.getDataAtRowProp(row, prop);
48289 that.instance.runHooks('beforeRenderer', TD, row, col, prop, value, cellProperties);
48290 …that.instance.getCellRenderer(cellProperties)(that.instance, TD, row, col, prop, value, cellProper…
48291 that.instance.runHooks('afterRenderer', TD, row, col, prop, value, cellProperties);
48299 row: false,
48320 if (coords.row >= 0 && coords.col >= 0 && !blockCalculations.cells) {
48323 …} else if ((selectedHeader.cols || selectedHeader.rows) && coords.row >= 0 && coords.col >= 0 && !…
48325 selection.setRangeEnd(new _src.CellCoords(coords.row, coords.col));
48326 } else if (selectedHeader.cols && coords.row < 0 && !blockCalculations.column) {
48327 selection.setRangeEnd(new _src.CellCoords(actualSelection.to.row, coords.col));
48328 } else if (selectedHeader.rows && coords.col < 0 && !blockCalculations.row) {
48329 selection.setRangeEnd(new _src.CellCoords(coords.row, actualSelection.to.col));
48330 …eader.rows && coords.col < 0 || selectedHeader.cols && coords.col < 0) && !blockCalculations.row) {
48332 selection.setRangeStartOnly(new _src.CellCoords(actualSelection.from.row, 0));
48333 selection.setRangeEnd(new _src.CellCoords(coords.row, instance.countCols() - 1));
48334 …selectedHeader.cols && !selectedHeader.rows && coords.row < 0 || selectedHeader.rows && coords.row
48348 if (coords.row < 0 && selectedHeader.cols) {
48354 var _start = Math.min(from.row, to.row);
48355 var _end = Math.max(from.row, to.row);
48357 doNewSelection = coords.row < _start || coords.row > _end;
48367 if (coords.row < 0 && coords.col >= 0 && !blockCalculations.column) {
48376 } else if (coords.col < 0 && coords.row >= 0 && !blockCalculations.row) {
48380 selection.setRangeStartOnly(new _src.CellCoords(coords.row, 0));
48381 …selection.setRangeEnd(new _src.CellCoords(coords.row, Math.max(instance.countCols() - 1, 0)), fals…
48383 } else if (coords.col >= 0 && coords.row >= 0 && !blockCalculations.cells) {
48388 } else if (coords.col < 0 && coords.row < 0) {
48389 coords.row = 0;
48413 row: false,
48426 if (coords.row >= 0 && coords.col >= 0) {
48430 } else if (instance.selection.selectedHeader.rows && !blockCalculations.row) {
48431 … instance.selection.setRangeEnd(new _src.CellCoords(coords.row, instance.countCols() - 1), false);
48439 } else if (instance.selection.selectedHeader.rows && !blockCalculations.row) {
48440 … instance.selection.setRangeEnd(new _src.CellCoords(coords.row, instance.countCols() - 1), false);
48624 row = _ref2[0],
48629 return row !== void 0 && row === rowEnd && col === colEnd;
48689 TableView.prototype.appendRowHeader = function (row, TH) {
48695 this.appendRowHeader(row, TH);
48699 this.updateCellHeader(container.querySelector('.rowHeader'), row, this.instance.getRowHeader);
48706 this.updateCellHeader(span, row, this.instance.getRowHeader);
48712 this.instance.runHooks('afterGetRowHeader', row, TH);
49079 var row = this.instance.runHooks('unmodifyRow', this.row);
49082 this.instance.setDataAtCell(row, column, correctedValue, 'dateValidator');
49210 var row = this.instance.runHooks('unmodifyRow', this.row);
49213 this.instance.setDataAtCell(row, column, correctedValue, 'timeValidator');
50965 row = [];
51027 row.push(renderDay(dayConfig));
51031 row.unshift(renderWeek(i - before, month, year));
51033 data.push(renderRow(row, opts.isRTL));
51034 row = [];