If i turn paginal output in grid, and there is only one page, I end up with one link (actually not even link), that has no reason to exist (at least in my case).
And here comes my question…
Is there any way to hide pages list if there is only one page present ?
There are two ways to accomplish such goal
a) modify code of dhtmlxgrid_pgn.js , so it will show nothing in case of one page dataset
or
b) done the same task by external code
mygrid.enablePaging(true,10,3,“pagingArea”,true,“recinfoArea”);
mygrid.attachEvent(“onPaging”,function(num){
document.getElementById(‘pagingArea’).style.display=(num<2?“none”:"");
return true;
});