function beforeChange(changes, source) {
        var _this = this;
        // Iterate changes to analyze cell metadata.
        changes.forEach(function (change) {
            // Retrieve editor class.
            var editor = _this.getCellEditor(change[0], _this.propToCol(change[1]));
            // New value to be set at cell.
            var newVal = change[3];
            // Verify editor to determine that it's suitable to change value to null.
            if (newVal === '' && (isEqual(editor, Editor) || isExtends(Editor, editor))) {
                // Replace change new value to null.
                change[3] = null;
            }
        });
    }
/**
     * Before change hook to correctly clean up cell.
     *
     * @param changes Changes to be applied.
     * @param source Operation causing change.
     * @author Oleksandr Dakal <oleksandr-dakal@project-kit.org>
     */
Before change hook to correctly clean up cell.
@param changes Changes to be applied.
@param source Operation causing change.
@author Oleksandr Dakal 
Before change hook to correctly clean up cell . @param changes Changes to be applied . @param source Operation causing change . @author Oleksandr Dakal
function beforeChange(changes, source) {
        var _this = this;
        changes.forEach(function (change) {
            var editor = _this.getCellEditor(change[0], _this.propToCol(change[1]));
            var newVal = change[3];
            if (newVal === '' && (isEqual(editor, Editor) || isExtends(Editor, editor))) {
                change[3] = null;
            }
        });
    }
function beforeChange ( changes , source ) { var _this = this ; changes . forEach ( function ( change ) { var editor = _this . getCellEditor ( change [ 0 ] , _this . propToCol ( change [ 1 ] ) ) ; var newVal = change [ 3 ] ; if ( newVal === '' && ( isEqual ( editor , Editor ) || isExtends ( Editor , editor ) ) ) { change [ 3 ] = null ; } } ) ; }
Before change hook to correctly clean up cell.
Before change hook to correctly clean up cell .
// Iterate changes to analyze cell metadata. // Retrieve editor class. // New value to be set at cell. // Verify editor to determine that it's suitable to change value to null. // Replace change new value to null.