Spread.Sheets Documentation
TouchToolStripSeparator Method
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.
Represents a separator in the toolbar.
Syntax
var value; // Type: any
value = GC.Spread.Sheets.Touch.TouchToolStripSeparator(canExecute);
function TouchToolStripSeparator( 
   canExecute : boolean
) : 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