The method setwidth resets the width of selected columns.
color - color value.
var pggrid = new jsgrid(); pggrid.init({ id:"wrp", rows:5, columns:12, width:25, height:20, gutter:1, backgroundColor: "#7fffd4" }); var grp = pggrid.group([2,4,6,8,10]); pggrid.setbackgroundcolor(grp, "#fff");