Jsgrid Javascript Grid Framework

getgrids method

The method getgrids returns an array of all grid cells of the grid view. The sequence of the cells is counted vertically from the first left column.

Syntax

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

var grds = pggrid.getgrids(); 
for (var i=0; i < grds.length; i++) { 
    grds[i].innerHTML =i; 
} 

Grid View