Skip to content

Commit

Permalink
Missing changes #7031
Browse files Browse the repository at this point in the history
  • Loading branch information
wszymanski committed Jul 23, 2020
1 parent c50c824 commit ff2d235
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions handsontable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ declare namespace _Handsontable {
isColumnModificationAllowed(): boolean;
isDestroyed: boolean
isEmptyCol(col: number): boolean;
isEmptyRow(row: number): boolean;;
isEmptyRow(row: number): boolean;
isListening(): boolean;
isRedoAvailable(): boolean;
isUndoAvailable(): boolean;
Expand Down Expand Up @@ -174,7 +174,7 @@ declare namespace Handsontable {
/**
* The default sources for which the table triggers hooks.
*/
type ChangeSource = 'auto' | 'edit' | 'loadData' | 'populateFromArray' | 'spliceCol' | 'spliceRow' | 'timeValidate' | 'dateValidate' | 'validateCells' | 'Autofill.fill' | 'Autofill.fill' | 'ContextMenu.clearColumns' | 'ContextMenu.columnLeft' | 'ContextMenu.columnRight' | 'ContextMenu.removeColumn' | 'ContextMenu.removeRow' | 'ContextMenu.rowAbove' | 'ContextMenu.rowBelow' | 'CopyPaste.paste' | 'ObserveChanges.change' | 'UndoRedo.redo' | 'UndoRedo.undo' | 'GantChart.loadData' | 'ColumnSummary.set' | 'ColumnSummary.reset';
type ChangeSource = 'auto' | 'edit' | 'loadData' | 'populateFromArray' | 'spliceCol' | 'spliceRow' | 'timeValidate' | 'dateValidate' | 'validateCells' | 'Autofill.fill' | 'Autofill.fill' | 'ContextMenu.clearColumns' | 'ContextMenu.columnLeft' | 'ContextMenu.columnRight' | 'ContextMenu.removeColumn' | 'ContextMenu.removeRow' | 'ContextMenu.rowAbove' | 'ContextMenu.rowBelow' | 'CopyPaste.paste' | 'ObserveChanges.change' | 'UndoRedo.redo' | 'UndoRedo.undo' | 'ColumnSummary.set' | 'ColumnSummary.reset';

/**
* The default cell type aliases the table has built-in.
Expand Down
3 changes: 1 addition & 2 deletions src/editors/textEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,7 @@ class TextEditor extends BaseEditor {
*/
refreshValue() {
const physicalRow = this.hot.toPhysicalRow(this.row);
const physicalColumn = this.hot.toPhysicalColumn(this.col);
const sourceData = this.hot.getSourceDataAtCell(physicalRow, physicalColumn);
const sourceData = this.hot.getSourceDataAtCell(physicalRow, this.prop);
this.originalValue = sourceData;

this.setValue(sourceData);
Expand Down

0 comments on commit ff2d235

Please sign in to comment.