GcSpread.Sheets Namespace > TouchToolStrip class : add Method |
var instance = new GcSpread.Sheets.TouchToolStrip(spread, host); var value; // Type: any value = instance.add(item);
function add( item : any ) : any;
spread.touchToolStrip.add(new GcSpread.Sheets.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 GcSpread.Sheets.TouchToolStripSeparator());