SpreadJS Documentation
TouchToolStripSeparator Constructor
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 instance = new GcSpread.Sheets.TouchToolStripSeparator(canExecute);
function TouchToolStripSeparator( 
   canExecute : string
) : TouchToolStripSeparator;

Parameters

canExecute
Defines when to display the separator with a function. If returns true, display the separator; otherwise, hide the separator.
Example
This example adds a delete image with red text.
spread.touchToolStrip.add(new GcSpread.Sheets.TouchToolStripItem("Cut", "Delete", "cut.png", function(){ }))
spread.touchToolStrip.getItem("Cut").font("15px Arial").foreColor("red");
spread.touchToolStrip.add(new GcSpread.Sheets.TouchToolStripSeparator());
See Also

Reference

TouchToolStripSeparator type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.