Jsgrid Javascript Grid Framework

setguttercolor method

The method setwidth resets the width of selected columns.

Syntax

objgrid.setguttercolor(string color)

Parameters

color - color value.

Example

var pggrid = new jsgrid(); 
        pggrid.init({ 
        id:"wrp", 
        rows:5, 
        columns:12, 
        width:25, 
        height:20, 
        gutter:1,
        backgroundColor: "#7fffd4" 
        });
 
pggrid.setguttercolor("#fff"); 

Grid View