invokeEventHandler(eventType, ...args) {
        // Defined editor events.
        const { editorEvents = {} } = this.cellProperties;
        // Invoke only when handlers exist.
        Object.keys(editorEvents).forEach((key) => {
            const events = key.split(/\s+/g);
            for (const name of events) {
                if (name === eventType && typeof editorEvents[key] === 'function') {
                    // Always include current value and cell properties
                    args.push(this.value, this.cellProperties);
                    // Invoke handler with specified arguments
                    editorEvents[key].apply(this, args);
                }
            }
        });
    }
/**
     * Invoke specified event handler.
     *
     * @param eventType Event type.
     * @param args Handler arguments.
     * @return Event output.
     */
Invoke specified event handler.
@param eventType Event type.
@param args Handler arguments.
@return Event output.
Invoke specified event handler . @param eventType Event type . @param args Handler arguments . @return Event output .
invokeEventHandler(eventType, ...args) {
        const { editorEvents = {} } = this.cellProperties;
        Object.keys(editorEvents).forEach((key) => {
            const events = key.split(/\s+/g);
            for (const name of events) {
                if (name === eventType && typeof editorEvents[key] === 'function') {
                    args.push(this.value, this.cellProperties);
                    editorEvents[key].apply(this, args);
                }
            }
        });
    }
invokeEventHandler ( eventType , ... args ) { const { editorEvents = { } } = this . cellProperties ; Object . keys ( editorEvents ) . forEach ( ( key ) => { const events = key . split ( / \s+ / g ) ; for ( const name of events ) { if ( name === eventType && typeof editorEvents [ key ] === 'function' ) { args . push ( this . value , this . cellProperties ) ; editorEvents [ key ] . apply ( this , args ) ; } } } ) ; }
Invoke specified event handler.
Invoke specified event handler .
// Defined editor events. // Invoke only when handlers exist. // Always include current value and cell properties // Invoke handler with specified arguments