SpreadJS Documentation
setTabStripRatio Method
The width of the tab strip expressed as a percentage of the overall horizontal scroll bar width.
Whether to skip refreshing the scroll bar. Set to true to not refresh the scroll bar.
Sets the width of the tab strip expressed as a percentage of the overall horizontal scroll bar width.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var value; // Type: any
value = instance.setTabStripRatio(tabStripRatio, skipRefreshScrollbar);
function setTabStripRatio( 
   tabStripRatio : number,
   skipRefreshScrollbar : boolean
) : any;

Parameters

tabStripRatio
The width of the tab strip expressed as a percentage of the overall horizontal scroll bar width.
skipRefreshScrollbar
Whether to skip refreshing the scroll bar. Set to true to not refresh the scroll bar.
Example
This example sets up the spreadsheet's tabs and tab strip.
spread.tabStripVisible(true);
spread.tabEditable(true);
spread.newTabVisible(true);
spread.setTabStripRatio(1,true);
See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.