The wijgrid widget automatically adjusts the column width according to the data entered in each cell. However, the widget also allows you to set the width of the columns by using the width option.
The script below sets the value of the first column to 40%. You can change the value of the width for any column. The value can be an integer or percentage.
You can also change the column width at runtime by setting the allowColSizing option to true. A user can drag the handle between two rows to resize them.