column.width : int|string Default: undefined


The width of the column. Numeric values are treated as pixels. If the width is undefined the width of the column is not set and depends on the with of the table(grid).

Examples

  
Edit this example
<table id="grid"></table> <script> $("#grid").grid({ dataSource: "../Grid/GetPlayers", columns: [ { field: "ID", width: 20 }, { field: "Name", width: 120 }, { field: "PlaceOfBirth" } ] }); </script>