The method setwidth resets the width of selected columns.
columns - An array of column numbers.
width - width of the columns to be set in px.
var pggrid = new jsgrid(); pggrid.init({ id: "wrp", rows: 5, columns: 12, width: 25, height: 20, gutter: 1, backgroundColor: "#7fffd4" }); pggrid.setwidth([2, 3, 4, 5], 50);