SpreadJS 13
GC.Spread.Sheets Namespace / Touch type / TouchToolStrip Method
The Spread object.
The host DOM element.
In This Topic
    TouchToolStrip Method
    In This Topic
    Represents a toolbar.
    Syntax
    var value; // Type: any
    value = GC.Spread.Sheets.Touch.TouchToolStrip(workbook, host);
    function TouchToolStrip( 
       workbook : Workbook,
       host : HTMLElement
    ) : any;

    Parameters

    workbook
    The Spread object.
    host
    The host DOM element.
    Example
    This example adds a custom item to the toolbar.
    spread.touchToolStrip.add(new GC.Spread.Sheets.Touch.TouchToolStripItem("Cut", "Delete", "cut.png", function(){ }))
    spread.touchToolStrip.getItem("Cut").font("15px Arial").foreColor("red");
    spread.touchToolStrip.add(new GC.Spread.Sheets.Touch.TouchToolStripSeparator());
    Remarks
    A touchToolStrip item list. This is read-only.
    See Also

    Reference

    Touch type