SpreadJS Documentation
showHorizontalScrollbar Method
Whether to display the horizontal scroll bar.
Gets or sets whether to display the horizontal scroll bar.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var returnValue; // Type: Object
returnValue = instance.showHorizontalScrollbar(value);
function showHorizontalScrollbar( 
   value : boolean
) : Object;

Parameters

value
Whether to display the horizontal scroll bar.

Return Value

true if the spreadsheet displays the horizontal scroll bar; otherwise, false.
Example
This example hides the horizontal scroll bar.
spread.showHorizontalScrollbar(false);
Remarks

The default value is true.

Use the showVerticalScrollbar method to specify whether the spreadsheet displays a vertical scroll bar.

See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.