How to dynamically resize jqgrid to current window size (based on javascript / jQuery)
Best example is here (TinyMCE): Goto: http://www.tinymce.com/tryit/full.php
Then try CTRL+ALT+F or Menu->View->Full Screen
Please help, i have beginner knowledge in js/jquery (i know more PHP language).
Thats how i call jqgrid:
$grid->renderGrid('#grid','#pager',true, null, null, true,true);
..thanking in advance
This is what i ment if you understand me.
I would like to add custom button to the gridNav to function like switch between enlarged and normal view (like a tinyMCE editor has!!)
My grid table has many columns (long horizontal scroll) thats why i came to the idea to enrage the whole table.
The button code...
$buttonoptions = array("#pager", array(
"caption"=>"Resize",
"onClickButton"=>"js:function(){ ... resize call here ...}", "title"=> "Resize"
)
);
$grid->callGridMethod("#grid", "navButtonAdd", $buttonoptions);