1
Vote

Missing Data Parameter

description

I can't seem to find the data parameter for setDataAsync method in Binding, am I missing something?
/** Writes data to the bound section of the document represented by the specified binding object. */
        setDataAsync(options?: { coercionType?: CoercionType; startRow: number; startColumn: number; asyncContext?: any; }, callback?: (result: AsyncResult) => void): void;
The signature from MSDN looks like:
bindingObj.setDataAsync(data [, options] ,callback);
I can't seem to work around it...

comments

Lagerman wrote Oct 9, 2015 at 8:20 AM

I've added the data parameter to my local version and it seems to work well:
        /** Writes data to the bound section of the document represented by the specified binding object. */
        setDataAsync(data: any, options?: { coercionType?: CoercionType; startRow: number; startColumn: number; asyncContext?: any; }, callback?: (result: AsyncResult) => void): void;