Spread.Sheets Documentation
TouchToolStrip Method
GC.Spread.Sheets Namespace > Touch type : TouchToolStrip Method
The Spread object.
The host DOM element.
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