GcSpread.Sheets Namespace > TouchToolStrip class : getItem Method |
var instance = new GcSpread.Sheets.TouchToolStrip(spread, host); var value; // Type: any value = instance.getItem(name);
function getItem( name : string ) : any;
<input type="button" id="button1" value="button1"/> 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()); $("#button1").click(function () { spread.touchToolStrip.remove("Cut"); activeSheet.isPaintSuspended(false); activeSheet.repaint(); });