Hi,
is it possible to ask if the grid has a scrollbar?
Regards, Carsten
Hi,
is it possible to ask if the grid has a scrollbar?
Regards, Carsten
Please, try to use the following function:
var hor=(mygrid.objBox.offsetWidth < mygrid.objBox.scrollWidth)?1:0;
var total_rows=mygrid.getStateOfView()[2];
var vis_rows=mygrid.getStateOfView()[1];
if (vis_rows-total_rows>hor){
console.log("no scroll")
}
else{
console.log("scroll")
}