Wijmo UI for the Web
ensureColumnsPxWidth Option
wijmo.grid.wijgrid Namespace > options type : ensureColumnsPxWidth Option

Default value: false

Determines if the exact column width, in pixels, is used.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijgrid("option", "ensureColumnsPxWidth");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijgrid("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.
See Also

Reference

options type
wijgrid jQuery Widget