Posted 22 November 2022, 4:03 pm EST - Updated 22 November 2022, 4:08 pm EST
CellType Event Return oldValue is undefined
Posted by: dnguyenthanhtu on 22 November 2022, 4:03 pm EST
Posted 23 November 2022, 5:12 pm EST - Updated 23 November 2022, 5:17 pm EST
The argument “oldValue” specifies the old value of the property that has been changed. For example, if you change the formatter of the cell, then the “oldValue” specifies the old formatter applied to the cell. In that case, the “oldValue” doesn’t mean the cell old value.
And when you change the “value” of the cell, the “oldValue” specifies the old value of the cell.
Please refer to the following code sample: https://jscodemine.grapecity.com/share/eK9Z3WhVsUiJQUJfF3q25Q/
Please let us know if you need further assistance on this topic. We would be happy to help you.
Posted 24 November 2022, 1:59 pm EST
I think the default of formatter is “General”, not is undefined
Posted 27 November 2022, 3:08 pm EST
The term “undefined” indicates that no formatting is applied to the cell. The “General formatter” is applied to the cell by default.
If the formatter is undefined, the cell has been formatted with “General Formatter.” This is by design.