SpreadJS Documentation
separatorHeight Method
The toolbar separator height.
Sets the toolbar separator height.
Syntax
var instance = new GcSpread.Sheets.TouchToolStrip(spread, host);
var value; // Type: any
value = instance.separatorHeight(height);
function separatorHeight( 
   height : number
) : any;

Parameters

height
The toolbar separator height.

Return Value

If called without a parameter, returns the current separator height; otherwise, returns the current toolbar object.
Example
This example sets the separator height.
spread.touchToolStrip.add(new GcSpread.Sheets.TouchToolStripItem("Cut", "Delete", "cut.png", function(){ }))
spread.touchToolStrip.getItem("Cut").font("15px Arial").foreColor("red");
spread.touchToolStrip.separatorHeight(33);
spread.touchToolStrip.add(new GcSpread.Sheets.TouchToolStripSeparator());
Remarks
The default value is 45 pixels.
See Also

Reference

TouchToolStrip class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.