Wijmo UI for the Web
width Field

Determines the width of the column.

Syntax
Javascript (Usage) 
var instance; // Type: wijmo.grid.IC1BandOptions;
var value; // Type: any
value = instance.width;
Javascript (Specification) 
var width : any;
Example
$("#element").wijgrid({ columns: [ { width: 150 } ] });
$("#element").wijgrid({ columns: [ { width: "10%" } ]});
Remarks
The option could either be a number of string. Use number to specify width in pixel, use string to specify width in percentage. By default, wijgrid emulates the table element behavior when using number as width. This means wijgrid may not have the exact width specified. If exact width is needed, please set ensureColumnsPxWidth option of wijgrid to true.
Browser Compatibility
7
5
5

See Also

Reference

IC1BandOptions Interface

 

 


© 2013 All Rights Reserved.

Send comments on this topic.