GC.Spread.Sheets.Touch 名前空間 > TouchToolStrip クラス : remove メソッド |
Javascript (Usage) | |
---|---|
var instance = new GC.Spread.Sheets.Touch.TouchToolStrip(workbook, host); var value; // Type: TouchToolStripItem value = instance.remove(name); |
Javascript (Specification) | |
---|---|
function remove( name : string ) : TouchToolStripItem; |
<input type="button" id="button1" value="button1"/> 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()); $("#button1").click(function () { spread.touchToolStrip.remove("Cut"); activeSheet.resumePaint(); activeSheet.repaint(); });