Hi again all,
Apologies for creating two threads today, I promise not to make a habit of it, hopefully this is easy.
If I set my grid height to 100% or auto, it creates a table about 4-5 pages long and the number of rows doesn’t fill the screen area, hunting around for answers I only found a post from years ago which says it was an error in FF, but I’ve tried it on IE, FF and Chrome with the same results.
I’ve also tried putting the include call inside a div but that didn’t work.
What I want is to create a scrollable list which fills the screen with as many rows that is needed but the pager should be in the same browser window (i.e. no browser scroll bar).
I’m using:
$grid->setGridOptions(array(
“scroll”=>true,
“rowNum”=>50,
“sortname”=>”alert_time”,
“rowTotal”=>-1,
“autowidth”=>true,
“height”=>”auto”,));
$grid->renderGrid(‘#grid’,’#pager’,true, null, null, true,true);
Many thanks again for your help
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top