How get count loaded rows in gid ???
var count = mygrid.getRowsNum();
add this after load
mygrid.load("load.php");
var count = mygrid.getRowsNum();
alert(count);
grid is loaded but param count in window with alert show 0
Data loading is async.
You need to use callback to work with loaded data
mygrid.load("load.php", function(){
var count = mygrid.getRowsNum();
alert(count);
});
thx a lot