Wijmo UI for the Web
selectElementWidthFix Option

Default value: 6

A value added to the width of the original HTML select element to account for the scroll bar width of the drop-down list.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijcombobox("option", "selectElementWidthFix");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijcombobox("option", "selectElementWidthFix", newValue);
        
});
Javascript (Specification) 
var selectElementWidthFix : number;
Remarks
Unit for this value is pixel. Because the width of the scroll bar may be different between browsers if wijcombobox is initialized with the width of the HTML select element, the text may be hidden by the scroll bar of wijcombobox.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijcombobox jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.