Spread.Sheets Documentation
add Method
GC.Spread.Sheets.Touch Namespace > TouchToolStrip class : add Method
The item to be added.
Adds an item to the touch toolbar.
Syntax
var instance = new GC.Spread.Sheets.Touch.TouchToolStrip(workbook, host);
var value; // Type: any
value = instance.add(item);
function add( 
   item : any
) : any;

Parameters

item
The item to be added.
Example
This example adds a custom item.
spread.touchToolStrip.add(new GC.Spread.Sheets.Touch.TouchToolStripItem("C", "Delete", "tsoutline.png", function(){ }))
spread.touchToolStrip.getItem("C").font("15px Arial").foreColor("red");
spread.touchToolStrip.imageAreaHeight(30);
spread.touchToolStrip.itemHeight(80);
spread.touchToolStrip.itemWidth(50);
spread.touchToolStrip.add(new GC.Spread.Sheets.Touch.TouchToolStripSeparator());
Remarks
The item to be added can be a toolbar item or a line separator.
See Also

Reference

TouchToolStrip class