SpreadJS 13
GC.Spread.Sheets Namespace / Touch type / TouchToolStripSeparator Method
Defines when to display the separator with a function. If returns true, display the separator; otherwise, hide the separator.
In This Topic
    TouchToolStripSeparator Method
    In This Topic
    Represents a separator in the toolbar.
    Syntax
    var value; // Type: any
    value = GC.Spread.Sheets.Touch.TouchToolStripSeparator(canExecute);
    function TouchToolStripSeparator( 
       canExecute : Object
    ) : any;

    Parameters

    canExecute
    Defines when to display the separator with a function. If returns true, display the separator; otherwise, hide the separator.
    Example
    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());
    See Also

    Reference

    Touch type