Lines Matching full:hot

278  * Check if an element is part of `hot-table` web component.
284 var hotTableName = 'hot-table',
1135 * Determines if the given DOM element is an input field placed OUTSIDE of HOT.
2031 var componentName = 'HOT-TABLE';
2073 …} else if ((0, _object.hasOwnProperty)(context, 'hot') || context.isHotTableEnv || context.wtTable…
2075 if ((0, _object.hasOwnProperty)(context, 'hot')) {
2077 fromElement = context.hot ? context.hot.view.wt.wtTable.TABLE : null;
4271 * Handsontable.hooks.run(hot, 'beforeInit');
4994 (0, _object.defineGetter)(this, 'hot', hotInstance, {
5010 this.hot.addHook('afterPluginsInitialized', function () {
5013 this.hot.addHook('afterUpdateSettings', function () {
5016 this.hot.addHook('beforeInit', function () {
5024 this.pluginName = (0, _plugins.getPluginName)(this.hot, this);
5030 initializedPlugins = (0, _plugins.getRegistredPluginNames)(this.hot);
5036 this.hot.runHooks('afterPluginsInitialized');
5079 this.hot.addHook(name, callback);
5096 _this2.hot.removeHook(name, callback);
5196 if (property !== 'hot' && property !== 't') {
5201 delete this.hot;
5295 function getValidSelection(hot) {
5296 var selected = hot.getSelected();
6228 // When hot settings are changed we allow to refresh overlay once before blocking
15717 * hot.updateSettings({
15977 * var hot = new Handsontable(document.getElementById('example'));
15978 * hot.alter('insert_row', 10);
15984 * var hot = new Handsontable(document.getElementById('example'));
15985 * hot.alter('insert_col', 10);
15990 * var hot = new Handsontable(document.getElementById('example'));
15991 * hot.alter('remove_row', 10);
15996 * var hot = new Handsontable(document.getElementById('example'));
15997 * hot.alter('remove_col', 10);
17342 * hot.addHook('beforeInit', myCallback);
17360 * var hasBeforeInitListeners = hot.hasHook('beforeInit');
17379 * hot.addHookOnce('beforeInit', myCallback);
17397 * hot.removeHook('beforeInit', myCallback);
17421 * hot.runHooks('beforeInit');
17733 this.hot = hotInstance;
17791 this.container = this.createContainer(this.hot.rootElement.className);
17797 this.table = this.createTable(this.hot.table.className);
17812 if (this.hot.getColHeader(0) != null) {
17816 this.container = this.createContainer(this.hot.rootElement.className);
17819 this.table = this.createTable(this.hot.table.className);
17842 this.container = this.createContainer(this.hot.rootElement.className);
17848 this.table = this.createTable(this.hot.table.className);
17850 if (this.getSetting('useHeaders') && this.hot.getColHeader(column) !== null) {
17851 this.hot.view.appendColHeader(column, this.table.th);
17965 if (this.hot.hasRowHeaders()) {
17994 if (this.hot.hasRowHeaders()) {
17995 this.hot.view.appendRowHeader(row, th);
18003 var cellProperties = _this2.hot.getCellMeta(row, column);
18008 var renderer = _this2.hot.getCellRenderer(cellProperties);
18011 … renderer(_this2.hot, td, row, column, _this2.hot.colToProp(column), string.value, cellProperties);
18026 if (this.hot.hasRowHeaders()) {
18028 this.hot.view.appendColHeader(-1, th);
18038 _this3.hot.view.appendColHeader(column, th);
18064 var cellProperties = _this4.hot.getCellMeta(row, column);
18069 var renderer = _this4.hot.getCellRenderer(cellProperties);
18073 … renderer(_this4.hot, td, row, column, _this4.hot.colToProp(column), string.value, cellProperties);
18112 (parent || this.hot.rootElement).appendChild(this.container.fragment);
18144 col.style.width = this.hot.view.wt.wtTable.getStretchedColumnWidth(column) + 'px';
19364 * var hot = new Handsontable(document.getElementById('example1'), {
19379 * var hot = new Handsontable(document.getElementById('example'), {
20339 * renderer: function(hot, td, row, col, prop, value, cellProperties) {
21192 * var hot = new Handsontable(document.getElementById('example'), {
25286 // check if full HOT instance, or detached WOT AND run on mobile device
25952 // by hot.refreshBorder
29640 // if focus is still in the HOT editor
29642 this.instance.listen(); // return the focus to the parent HOT instance
29886 this.hot = hotInstance;
30104 this.hot = hotInstance;
30320 function RecordTranslator(hot) {
30323 this.hot = hot;
30337 return this.hot.runHooks('unmodifyRow', row);
30350 return this.hot.runHooks('unmodifyCol', column);
30389 return this.hot.runHooks('modifyRow', row);
30402 return this.hot.runHooks('modifyCol', column);
30441 function registerIdentity(identity, hot) {
30442 identities.set(identity, hot);
34181 this.hot = hotInstance;
34289 var modifyRowData = this.hot.runHooks('modifyRowData', row);
34399 this.hot = null;
36609 * var hot = new Handsontable(document.getElementById('example'), {
36614 * var plugin = hot.getPlugin('autoColumnSize');
36666 _this.ghostTable = new _ghostTable2.default(_this.hot);
36673 return _this.hot.getDataAtCell(row, col);
36705 return this.hot.getSettings().autoColumnSize !== false && !this.hot.getSettings().colWidths;
36721 var setting = this.hot.getSettings().autoColumnSize;
36782 …ength > 0 && arguments[0] !== undefined ? arguments[0] : { from: 0, to: this.hot.countCols() - 1 };
36786 …ength > 1 && arguments[1] !== undefined ? arguments[1] : { from: 0, to: this.hot.countRows() - 1 };
36797 if (force || _this3.widths[col] === void 0 && !_this3.hot._getColWidthFromSettings(col)) {
36825 …ength > 0 && arguments[0] !== undefined ? arguments[0] : { from: 0, to: this.hot.countRows() - 1 };
36828 var length = this.hot.countCols() - 1;
36834 // When hot was destroyed after calculating finished cancel frame
36835 if (!_this4.hot) {
36856 _this4.hot.view.wt.wtOverlays.adjustElementsSize(true);
36858 if (_this4.hot.view.wt.wtOverlays.leftOverlay.needFullRender) {
36859 _this4.hot.view.wt.wtOverlays.leftOverlay.clone.draw();
36886 var setting = this.hot.getSettings().autoColumnSize;
36887 … = setting && (0, _object.hasOwnProperty)(setting, 'samplingRatio') ? this.hot.getSettings().autoC…
36888 …ng && (0, _object.hasOwnProperty)(setting, 'allowSampleDuplicates') ? this.hot.getSettings().autoC…
36906 if (this.hot.view && (0, _element.isVisible)(this.hot.view.wt.wtTable.TABLE)) {
36923 var colsLimit = this.hot.countCols() - 1;
36925 if ((0, _object.isObject)(this.hot.getSettings().autoColumnSize)) {
36926 limit = this.hot.getSettings().autoColumnSize.syncLimit;
36976 var wot = this.hot.view.wt;
36997 var wot = this.hot.view.wt;
37018 var columnHeaders = this.hot.getColHeader();
37087 var force = this.hot.renderCall;
37088 var rowsCount = this.hot.countRows();
37113 if (this.hot.view) {
37118 if (_this6.hot) {
37142 return _this7.hot.propToCol(column);
37178 privatePool.get(this).cachedColumnHeaders = this.hot.getColHeader();
37284 * var hot = new Handsontable(document.getElementById('example'), {
37289 * var plugin = hot.getPlugin('autoRowSize');
37330 _this.ghostTable = new _ghostTable2.default(_this.hot);
37338 return _this.hot.getDataAtCell(row, col);
37340 return _this.hot.getColHeader(col);
37374 …return this.hot.getSettings().autoRowSize === true || (0, _object.isObject)(this.hot.getSettings()…
37443 …ength > 0 && arguments[0] !== undefined ? arguments[0] : { from: 0, to: this.hot.countRows() - 1 };
37447 …ength > 1 && arguments[1] !== undefined ? arguments[1] : { from: 0, to: this.hot.countCols() - 1 };
37457 if (this.hot.getColHeader(0) !== null) {
37493 …ength > 0 && arguments[0] !== undefined ? arguments[0] : { from: 0, to: this.hot.countCols() - 1 };
37496 var length = this.hot.countRows() - 1;
37502 // When hot was destroyed after calculating finished cancel frame
37503 if (!_this4.hot) {
37519 _this4.hot.view.wt.wtOverlays.adjustElementsSize(true);
37521 if (_this4.hot.view.wt.wtOverlays.leftOverlay.needFullRender) {
37522 _this4.hot.view.wt.wtOverlays.leftOverlay.clone.draw();
37537 this.hot.view.wt.wtOverlays.adjustElementsSize(false);
37550 var setting = this.hot.getSettings().autoRowSize;
37551 … = setting && (0, _object.hasOwnProperty)(setting, 'samplingRatio') ? this.hot.getSettings().autoR…
37552 …ng && (0, _object.hasOwnProperty)(setting, 'allowSampleDuplicates') ? this.hot.getSettings().autoR…
37570 if ((0, _element.isVisible)(this.hot.view.wt.wtTable.TABLE)) {
37587 var rowsLimit = this.hot.countRows() - 1;
37589 if ((0, _object.isObject)(this.hot.getSettings().autoRowSize)) {
37590 limit = this.hot.getSettings().autoRowSize.syncLimit;
37646 var wot = this.hot.view.wt;
37667 var wot = this.hot.view.wt;
37730 var force = this.hot.renderCall;
37733 var fixedRowsBottom = this.hot.getSettings().fixedRowsBottom;
37737 var totalRows = this.hot.countRows() - 1;
37793 if (this.hot.view) {
37798 if (_this6.hot) {
37974 return this.hot.getSettings().fillHandle;
38040 from: this.hot.getSelectedRange().from,
38041 to: this.hot.getSelectedRange().to
38044 … return this.hot.getData(selRange.from.row, selRange.from.col, selRange.to.row, selRange.to.col);
38057 if (this.hot.view.wt.selections.fill.isEmpty()) {
38061 var cornersOfSelectionAndDragAreas = this.hot.view.wt.selections.fill.getCorners();
38072 … this.hot.runHooks('modifyAutofillRange', cornersOfSelectedCells, cornersOfSelectionAndDragAreas);
38079 this.hot.runHooks('beforeAutofill', startOfDragCoords, endOfDragCoords, selectionData);
38107 …this.hot.populateFromArray(startOfDragCoords.row, startOfDragCoords.col, fillData, endOfDragCoords…
38112 this.hot.selection.refreshBorders();
38150 var topLeftCorner = this.hot.getSelectedRange().getTopLeftCorner();
38151 var bottomRightCorner = this.hot.getSelectedRange().getBottomRightCorner();
38194 this.hot._registerTimeout(setTimeout(function () {
38195 _this3.hot.alter(INSERT_ROW_ALTER_ACTION_NAME, void 0, 1, _this3.pluginName + '.fill');
38214 this.hot._registerTimeout(setTimeout(function () {
38215 _this4.hot.alter(INSERT_COLUMN_ALTER_ACTION_NAME, void 0, 1, _this4.pluginName + '.fill');
38230 …if (this.hot.view.wt.selections.fill.cellRange && this.addingStarted === false && this.autoInsertR…
38231 var cornersOfSelectedCells = this.hot.getSelected();
38232 var cornersOfSelectedDragArea = this.hot.view.wt.selections.fill.getCorners();
38233 var nrOfTableRows = this.hot.countRows();
38254 …if (this.hot.view.wt.selections.fill.cellRange && this.addingStarted === false && this.autoInsertR…
38255 var cornersOfSelectedCells = this.hot.getSelected();
38256 var cornersOfSelectedDragArea = this.hot.view.wt.selections.fill.getCorners();
38257 var nrOfTableCols = this.hot.countCols();
38277 if (this.hot.selection.isMultiple()) {
38278 return this.hot.view.wt.selections.area.getCorners();
38280 return this.hot.view.wt.selections.current.getCorners();
38295 var data = this.hot.getData();
38296 var nrOfTableRows = this.hot.countRows();
38329 this.hot.view.wt.selections.fill.clear();
38330 … this.hot.view.wt.selections.fill.add(new _src.CellCoords(selectStartArea[0], selectStartArea[1]));
38331 this.hot.view.wt.selections.fill.add(new _src.CellCoords(rowIndex, selectStartArea[3]));
38344 this.hot.selection.setRangeStart(new _src.CellCoords(cornersOfArea[0], cornersOfArea[1]));
38345 this.hot.selection.setRangeEnd(new _src.CellCoords(cornersOfArea[2], cornersOfArea[3]));
38380 this.hot.view.wt.selections.fill.clear();
38393 this.hot.view.wt.selections.fill.clear();
38394 this.hot.view.wt.selections.fill.add(this.hot.getSelectedRange().from);
38395 this.hot.view.wt.selections.fill.add(this.hot.getSelectedRange().to);
38396 this.hot.view.wt.selections.fill.add(coords);
38397 this.hot.view.render();
38411 …lement.offset)(this.hot.table).top - (window.pageYOffset || document.documentElement.scrollTop) + …
38412 …lement.offset)(this.hot.table).left - (window.pageXOffset || document.documentElement.scrollLeft) …
38475 if (this.mouseDownOnCellCorner && !this.hot.view.isMouseDown() && this.handleDraggedCells) {
38549 … var mappedSettings = (0, _utils.getMappedFillHandleSetting)(this.hot.getSettings().fillHandle);
38751 this.hot = hotInstance;
38814 if (typeof command.disabled == 'function' && command.disabled.call(this.hot) === true) {
38830 return callback.apply(_this.hot, params);
38978 _this.commandExecutor = new _commandExecutor2.default(_this.hot);
39004 return this.hot.getSettings().contextMenu;
39019 this.itemsFactory = new _itemsFactory2.default(this.hot, ContextMenu.DEFAULT_ITEMS);
39021 var settings = this.hot.getSettings().contextMenu;
39033 _this2.hot.runHooks('afterContextMenuDefaultOptions', predefinedItems);
39038 _this2.menu = new _menu2.default(_this2.hot, {
39042 _this2.hot.runHooks('beforeContextMenuSetItems', menuItems);
39107 this.eventManager.addEventListener(this.hot.rootElement, 'contextmenu', function (event) {
39130 // ContextMenu is not detected HotTableEnv correctly because is injected outside hot-table
39131 this.menu.hotMenu.isHotTableEnv = this.hot.isHotTableEnv;
39132 // Handsontable.eventManager.isHotTableEnv = this.hot.isHotTableEnv;
39195 var settings = this.hot.getSettings();
39202 // if event is from hot-table we must get web component element not element inside him
39231 this.hot.runHooks('afterContextMenuShow', this);
39243 this.hot.listen();
39244 this.hot.runHooks('afterContextMenuHide', this);
39455 this.hot = hotInstance;
39627 this.hot = hotInstance;
39728 return (0, _utils.isItemHidden)(item, _this2.hot);
39742 renderer: function renderer(hot, TD, row, col, prop, value) {
39743 return _this2.menuItemRenderer(hot, TD, row, col, prop, value);
39763 this.origOutsideClickDeselects = this.hot.getSettings().outsideClickDeselects;
39764 this.hot.getSettings().outsideClickDeselects = false;
39800 this.hot.getSettings().outsideClickDeselects = this.origOutsideClickDeselects;
39830 var subMenu = new Menu(this.hot, {
39932 var selRange = this.hot.getSelectedRange();
39937 …of selectedItem.disabled === 'function' && selectedItem.disabled.call(this.hot) === true || select…
40137 value: function menuItemRenderer(hot, TD, row, col, prop, value) {
40140 var item = hot.getSourceDataAtRow(row);
40150 …disabled === true || typeof item.disabled == 'function' && item.disabled.call(_this4.hot) === true;
40157 value = value.call(this.hot);
40168 TD.appendChild(item.renderer(hot, wrapper, row, col, prop, value));
40175 return hot.deselectCell();
40180 return hot.deselectCell();
40187 return hot.deselectCell();
40191 return hot.selectCell(row, col, void 0, void 0, false, false);
40200 return hot.deselectCell();
40204 return hot.selectCell(row, col, void 0, void 0, false, false);
40255 this.hot.addHook('afterScrollVertically', this._afterScrollCallback);
40256 this.hot.addHook('afterScrollHorizontally', this._afterScrollCallback);
40267 this.hot.removeHook('afterScrollVertically', this._afterScrollCallback);
40268 this.hot.removeHook('afterScrollHorizontally', this._afterScrollCallback);
41131 return !copyPastePlugin.hot.getSelected();
41156 return !copyPastePlugin.hot.getSelected();
41330 return !!this.hot.getSettings().copyPaste;
41346 var settings = this.hot.getSettings();
41404 var selRange = this.hot.getSelectedRange();
41428 this.copyableRanges = this.hot.runHooks('modifyCopyableRange', this.copyableRanges);
41435 …this.hot.runHooks('afterCopyLimit', endRow - startRow + 1, endCol - startCol + 1, this.rowsLimit, …
41474 rowSet.push(_this3.hot.getCopyableData(row, column));
41518 rowSet.push(_this4.hot.getCopyableData(row, column));
41538 var allowCopying = !!this.hot.runHooks('beforeCopy', rangedData, this.copyableRanges);
41548 this.hot.runHooks('afterCopy', rangedData, this.copyableRanges);
41565 var allowCuttingOut = !!this.hot.runHooks('beforeCut', rangedData, this.copyableRanges);
41569 this.hot.selection.empty();
41576 this.hot.runHooks('afterCut', rangedData, this.copyableRanges);
41659 if (!this.hot.isListening() || !priv.isTriggeredByPaste) {
41679 var allowPasting = !!this.hot.runHooks('beforePaste', inputArray, this.copyableRanges);
41685 selected = this.hot.getSelected();
41697 this.hot.addHookOnce('afterChange', function (changes, source) {
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…
41722 this.hot.runHooks('afterPaste', inputArray, this.copyableRanges);
41752 if (!this.hot.getSelected()) {
41755 if (this.hot.getActiveEditor() && this.hot.getActiveEditor().isOpened()) {
41767 if (this.hot.getSettings().fragmentSelection && (0, _element.getSelectionText)()) {
42296 return !!this.hot.getSettings().manualColumnFreeze;
42363 var settings = this.hot.getSettings();
42369 …if (settings.fixedColumnsLeft === this.hot.countCols() || column <= settings.fixedColumnsLeft - 1)…
42392 var settings = this.hot.getSettings();
42421 this.manualColumnMovePlugin = this.hot.getPlugin('manualColumnMove');
42438 var settings = this.hot.getSettings();
42504 var frozenLen = this.hot.getSettings().fixedColumnsLeft;
42806 return !!this.hot.getSettings().manualColumnMove;
42853 (0, _element.addClass)(this.hot.rootElement, CSS_PLUGIN);
42880 var pluginSettings = this.hot.getSettings().manualColumnMove;
42886 (0, _element.removeClass)(this.hot.rootElement, CSS_PLUGIN);
42921 var beforeColumnHook = this.hot.runHooks('beforeColumnMove', columns, target);
42944 this.hot.runHooks('afterColumnMove', columns, target);
42959 var selection = this.hot.selection;
42960 var lastRowIndex = this.hot.countRows() - 1;
42984 columnWidth = this.hot.view.wt.wtTable.getColumnWidth(i) || 0;
42986 columnWidth = this.hot.view.wt.wtTable.getStretchedColumnWidth(i) || 0;
43004 var pluginSettings = this.hot.getSettings().manualColumnMove;
43024 return column < this.hot.getSettings().fixedColumnsLeft;
43036 this.hot.runHooks('persistentStateSave', 'manualColumnMove', this.columnsMapper._arrayMap);
43050 this.hot.runHooks('persistentStateLoad', 'manualColumnMove', storedState);
43086 var firstVisible = this.hot.view.wt.wtTable.getFirstVisibleColumn();
43087 var lastVisible = this.hot.view.wt.wtTable.getLastVisibleColumn();
43088 var wtTable = this.hot.view.wt.wtTable;
43089 var scrollableElement = this.hot.view.wt.wtOverlays.scrollableElement;
43091 … var tdOffsetLeft = this.hot.view.THEAD.offsetLeft + this.getColumnsWidth(0, priv.coordsColumn);
43106 …rowHeaderWidth = this.hot.view.wt.wtOverlays.leftOverlay.clone.wtTable.getColumnHeader(-1).offsetW…
43128 this.hot.scrollViewportTo(void 0, lastVisible + 1, void 0, true);
43135 this.hot.scrollViewportTo(void 0, firstVisible - 1);
43140 this.hot.scrollViewportTo(void 0, firstVisible - 1);
43177 var countCols = this.hot.countSourceCols();
43181 this.columnsMapper.createMap(countCols || this.hot.getSettings().startCols);
43244 var wtTable = this.hot.view.wt.wtTable;
43245 var isHeaderSelection = this.hot.selection.selectedHeader.cols;
43246 var selection = this.hot.getSelectedRange();
43253 (0, _element.removeClass)(this.hot.rootElement, [CSS_ON_MOVING, CSS_SHOW_UI]);
43279 priv.hasRowHeaders = !!this.hot.getSettings().rowHeaders;
43280 priv.countCols = this.hot.countCols();
43281 priv.fixedColumns = this.hot.getSettings().fixedColumnsLeft;
43282 priv.rootElementOffset = (0, _element.offset)(this.hot.rootElement).left;
43287 var scrollableElement = this.hot.view.wt.wtOverlays.scrollableElement;
43297 (0, _element.addClass)(this.hot.rootElement, CSS_ON_MOVING);
43299 (0, _element.removeClass)(this.hot.rootElement, CSS_AFTER_SELECTION);
43348 var selectedRange = this.hot.getSelectedRange();
43356 (0, _element.removeClass)(this.hot.rootElement, CSS_SHOW_UI);
43358 (0, _element.addClass)(this.hot.rootElement, CSS_SHOW_UI);
43383 …(0, _element.removeClass)(this.hot.rootElement, [CSS_ON_MOVING, CSS_SHOW_UI, CSS_AFTER_SELECTION]);
43385 if (this.hot.selection.selectedHeader.cols) {
43386 (0, _element.addClass)(this.hot.rootElement, CSS_AFTER_SELECTION);
43394 this.hot.render();
43395 this.hot.view.wt.wtOverlays.adjustElementsSize(true);
43415 var wtTable = this.hot.view.wt.wtTable;
43456 … _this5.removedColumns.push(_this5.hot.runHooks('modifyCol', removedIndex, _this5.pluginName));
43772 return this.hot.getSettings().manualColumnResize;
43789 var initialColumnWidth = this.hot.getSettings().manualColumnResize;
43825 var initialColumnWidth = this.hot.getSettings().manualColumnResize;
43851 this.hot.runHooks('persistentStateSave', 'manualColumnWidths', this.manualColumnWidths);
43865 this.hot.runHooks('persistentStateLoad', 'manualColumnWidths', storedState);
43887 var col = this.hot.view.wt.wtTable.getCoords(TH).col; // getCoords returns CellCoords
43897 if (this.hot.selection.isSelected() && this.hot.selection.selectedHeader.cols) {
43898 var _hot$getSelectedRange = this.hot.getSelectedRange(),
43926 this.hot.rootElement.appendChild(this.handle);
43949 var maximumVisibleElementHeight = parseInt(this.hot.view.maximumVisibleElementHeight(0), 10);
43957 this.hot.rootElement.appendChild(this.guide);
43991 if (element != this.hot.rootElement) {
44063 _this4.hot.forceFullRender = true;
44064 _this4.hot.view.render(); // updates all
44065 _this4.hot.view.wt.wtOverlays.adjustElementsSize(true);
44068 … var hookNewSize = _this4.hot.runHooks('beforeColumnResize', selectedCol, _this4.newSize, true);
44074 if (_this4.hot.getSettings().stretchH === 'all') {
44086 _this4.hot.runHooks('afterColumnResize', selectedCol, _this4.newSize, true);
44121 this.pressed = this.hot;
44128 this.hot._registerTimeout(this.autoresizeTimeout);
44174 _this7.hot.forceFullRender = true;
44175 _this7.hot.view.render(); // updates all
44176 _this7.hot.view.wt.wtOverlays.adjustElementsSize(true);
44179 _this7.hot.runHooks('beforeColumnResize', selectedCol, _this7.newSize);
44187 _this7.hot.runHooks('afterColumnResize', selectedCol, _this7.newSize);
44224 this.eventManager.addEventListener(this.hot.rootElement, 'mouseover', function (e) {
44227 this.eventManager.addEventListener(this.hot.rootElement, 'mousedown', function (e) {
44255 column = this.hot.runHooks('modifyCol', column);
44271 column = this.hot.runHooks('modifyCol', column);
44289 column = this.hot.runHooks('modifyCol', column);
44291 if (this.hot.getSettings().manualColumnResize && this.manualColumnWidths[column]) {
44333 this.hot.view.wt.wtViewport.hasOversizedColumnHeadersMarked = {};
44497 return !!this.hot.getSettings().manualRowMove;
44547 (0, _element.addClass)(this.hot.rootElement, CSS_PLUGIN);
44574 var pluginSettings = this.hot.getSettings().manualRowMove;
44580 (0, _element.removeClass)(this.hot.rootElement, CSS_PLUGIN);
44615 var beforeMoveHook = this.hot.runHooks('beforeRowMove', rows, target);
44638 this.hot.runHooks('afterRowMove', rows, target);
44653 var selection = this.hot.selection;
44654 var lastColIndex = this.hot.countCols() - 1;
44675 var rowHeight = this.hot.view.wt.wtTable.getRowHeight(i) || 23;
44692 var pluginSettings = this.hot.getSettings().manualRowMove;
44716 return row < this.hot.getSettings().fixedRowsTop;
44730 return row > this.hot.getSettings().fixedRowsBottom;
44742 this.hot.runHooks('persistentStateSave', 'manualRowMove', this.rowsMapper._arrayMap);
44757 this.hot.runHooks('persistentStateLoad', 'manualRowMove', storedState);
44772 var selection = this.hot.getSelectedRange();
44803 var firstVisible = this.hot.view.wt.wtTable.getFirstVisibleRow();
44804 var lastVisible = this.hot.view.wt.wtTable.getLastVisibleRow();
44805 var fixedRows = this.hot.getSettings().fixedRowsTop;
44806 var countRows = this.hot.countRows();
44809 this.hot.scrollViewportTo(firstVisible - 1);
44812 this.hot.scrollViewportTo(lastVisible + 1, undefined, true);
44815 var wtTable = this.hot.view.wt.wtTable;
44817 var rootElementOffset = (0, _element.offset)(this.hot.rootElement);
44818 var tdOffsetTop = this.hot.view.THEAD.offsetHeight + this.getRowsHeight(0, coords.row);
44864 if (this.hot.view.wt.wtOverlays.topOverlay) {
44865 topOverlayHeight = this.hot.view.wt.wtOverlays.topOverlay.clone.wtTable.TABLE.offsetHeight;
44869 this.hot.scrollViewportTo(coords.row);
44885 var countRows = this.hot.countSourceRows();
44889 this.rowsMapper.createMap(countRows || this.hot.getSettings().startRows);
44968 var wtTable = this.hot.view.wt.wtTable;
44969 var isHeaderSelection = this.hot.selection.selectedHeader.rows;
44970 var selection = this.hot.getSelectedRange();
44976 (0, _element.removeClass)(this.hot.rootElement, [CSS_ON_MOVING, CSS_SHOW_UI]);
45008 (0, _element.addClass)(this.hot.rootElement, CSS_ON_MOVING);
45012 (0, _element.removeClass)(this.hot.rootElement, CSS_AFTER_SELECTION);
45061 var selectedRange = this.hot.getSelectedRange();
45069 (0, _element.removeClass)(this.hot.rootElement, CSS_SHOW_UI);
45071 (0, _element.addClass)(this.hot.rootElement, CSS_SHOW_UI);
45097 …(0, _element.removeClass)(this.hot.rootElement, [CSS_ON_MOVING, CSS_SHOW_UI, CSS_AFTER_SELECTION]);
45099 if (this.hot.selection.selectedHeader.rows) {
45100 (0, _element.addClass)(this.hot.rootElement, CSS_AFTER_SELECTION);
45110 this.hot.render();
45130 var wtTable = this.hot.view.wt.wtTable;
45171 … _this5.removedRows.push(_this5.hot.runHooks('modifyRow', removedIndex, _this5.pluginName));
45593 return this.hot.getSettings().manualRowResize;
45611 var initialRowHeights = this.hot.getSettings().manualRowResize;
45641 var initialRowHeights = this.hot.getSettings().manualRowResize;
45667 this.hot.runHooks('persistentStateSave', 'manualRowHeights', this.manualRowHeights);
45681 this.hot.runHooks('persistentStateLoad', 'manualRowHeights', storedState);
45698 var row = this.hot.view.wt.wtTable.getCoords(TH).row; // getCoords returns CellCoords
45708 if (this.hot.selection.isSelected() && this.hot.selection.selectedHeader.rows) {
45709 var _hot$getSelectedRange = this.hot.getSelectedRange(),
45737 this.hot.rootElement.appendChild(this.handle);
45760 var maximumVisibleElementWidth = parseInt(this.hot.view.maximumVisibleElementWidth(0), 10);
45767 this.hot.rootElement.appendChild(this.guide);
45801 if (element != this.hot.rootElement) {
45867 _this4.hot.forceFullRender = true;
45868 _this4.hot.view.render(); // updates all
45869 _this4.hot.view.wt.wtOverlays.adjustElementsSize(true);
45872 var hookNewSize = _this4.hot.runHooks('beforeRowResize', selectedRow, _this4.newSize, true);
45884 _this4.hot.runHooks('afterRowResize', selectedRow, _this4.newSize, true);
45919 this.pressed = this.hot;
45926 this.hot._registerTimeout(this.autoresizeTimeout);
45972 _this7.hot.forceFullRender = true;
45973 _this7.hot.view.render(); // updates all
45974 _this7.hot.view.wt.wtOverlays.adjustElementsSize(true);
45977 _this7.hot.runHooks('beforeRowResize', selectedRow, _this7.newSize);
45985 _this7.hot.runHooks('afterRowResize', selectedRow, _this7.newSize);
46021 this.eventManager.addEventListener(this.hot.rootElement, 'mouseover', function (e) {
46024 this.eventManager.addEventListener(this.hot.rootElement, 'mousedown', function (e) {
46046 row = this.hot.runHooks('modifyRow', row);
46065 var autoRowSizePlugin = this.hot.getPlugin('autoRowSize');
46068 row = this.hot.runHooks('modifyRow', row);
46875 this.eventManager.addEventListener(this.hot.rootElement, 'touchstart', function (event) {
46879 selectedRange = _this.hot.getSelectedRange();
46892 selectedRange = _this.hot.getSelectedRange();
46907 this.eventManager.addEventListener(this.hot.rootElement, 'touchend', function (event) {
46925 this.eventManager.addEventListener(this.hot.rootElement, 'touchmove', function (event) {
46947 targetCoords = _this.hot.getCoords(endTarget);
46953 selectedRange = _this.hot.getSelectedRange();
46959 _this.hot.selection.setRangeEnd(targetCoords);
46965 _this.hot.selection.setRangeStart(newRangeCoords.start);
46968 _this.hot.selection.setRangeEnd(newRangeCoords.end);
48071 …window.focus(); // make sure that window that contains HOT is active. Important when HOT is in ifr…