The method getrowno returns the row index setguttercolor a grid cell. The argument is a grid element.
var pggrid = new jsgrid(); pggrid.init({ id:"wrp", rows:5, columns:12, width:25, height:20, gutter:1, backgroundColor: "#7fffd4" }); var rows = pggrid.getrows(2); var rowno = pggrid.getrowno(rows[5]); //return 2