ComponentOne GridView for ASP.NET WebForms
jQuery.wijmo.c1gridview Namespace / options type / ensureColumnsPxWidth Option
In This Topic
    ensureColumnsPxWidth Option
    In This Topic
    Determines if the exact column width, in pixels, is used.
    Syntax
    // Get value
    var value; // Type:  boolean
    value = $(".selector").c1gridview("option", "ensureColumnsPxWidth");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").c1gridview("option", "ensureColumnsPxWidth", newValue);
    var ensureColumnsPxWidth : boolean;
    Example
    $("#element").wijgrid({ ensureColumnsPxWidth: true });
    Remarks
    By default, wijgrid emulates the table element behavior when using a number as the width. This means wijgrid may not have the exact width specified. If exact width is needed, please set the ensureColumnsPxWidth option of wijgrid to true. If this option is set to true, wijgrid will not expand itself to fit the available space.Instead, it will use the width option of each column widget.
    Browser Compatibility
    8
    5
    5
    See Also