SpreadJS Documentation
TouchToolStripItem class
GC.Spread.Sheets.Touch Namespace : TouchToolStripItem class
Represents an item in the toolbar.
Syntax
var instance = new GC.Spread.Sheets.Touch.TouchToolStripItem(name, text, image, command, canExecute);
function TouchToolStripItem;
Example
//This example adds a delete image with red text.
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());
Inheritance Hierarchy

Object
   GC.Spread.Sheets.Touch.TouchToolStripItem

Constructors
 NameDescription
public ConstructorRepresents an item in the toolbar.  
Top
Methods
 NameDescription
public MethodGets or sets the font of the item text.  
public MethodGets or sets the color of the item text.  
public MethodGets or sets the source of the item image.  
public MethodGets or sets the name of the item.  
public MethodGets or sets the text of the item.  
Top
See Also

Reference

GC.Spread.Sheets.Touch Namespace
Using Touch Support with the Touch Toolbar