SpreadJS 14
GC.Spread.Sheets.Shapes Namespace / CameraShape type / doubleClickCommand Method
The behavior when double clicking the camera shape rather than jump to cell range source, if value is a function, it won't be serialized. The default command is 'openUrl'.
In This Topic
    doubleClickCommand Method
    In This Topic
    Gets or sets the double-click command of the shape.
    Syntax
    var instance = new GC.Spread.Sheets.Shapes.CameraShape(worksheet, name, range, left, top, width, height);
    var returnValue; // Type: any
    returnValue = instance.doubleClickCommand(value);
    function doubleClickCommand( 
       (optional) value : undefined
    ) : any;

    Parameters

    value
    The behavior when double clicking the camera shape rather than jump to cell range source, if value is a function, it won't be serialized. The default command is 'openUrl'.
    Example
    var shape = sheet.shapes.addCameraShape("shape1", 'Sheet1!A1:A8', 100, 50, 100, 150);
    shape.doubleClickCommand(null);
    See Also