The method getrownoX returns the real row index of a row of which a cell is in. The argument is a grid element. This method is used when the cells in a column of which the cell is in is not continuous. Some grid cells may be removed or rowspaned.
var pggrid = new jsgrid();
pggrid.init({
id:"wrp",
rows:5,
columns:12,
width:25,
height:20,
gutter:1,
backgroundColor: "#7fffd4"
});
pggrid.removegrids([2,1],[2,3]);
var cols = pggrid.getcolumns(2);
var rowno = pggrid.getrownoX(cols[1]);
//return 4