Wijmo UI for the Web
scrollMode Option

Default value: 'none'

Determines which scrollbars are active and if they appear automatically based on content size. Possbile values are: "none", "auto", "horizontal", "vertical", "both".

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijgrid("option", "scrollMode");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijgrid("option", "scrollMode", newValue);
        
});
Javascript (Specification) 
var scrollMode : string;
Example
// The horizontal and vertical scrollbars are active when the scrollMode is set to both.
$("#element").wijgrid({ scrollMode: "both" });
Remarks
Possible values are: "none": Scrolling is not used; the staticRowIndex and staticColumnIndex values are ignored. "auto": Scrollbars appear automatically depending upon content size. "horizontal": The horizontal scrollbar is active. "vertical": The vertical scrollbar is active. "both": Both horizontal and vertical scrollbars are active.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijgrid jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.