Jqgrid fullscreen switch, window width and height

How can I switch between full screen and normal view?

for example: the tiny mce editor has the same function.

Any ideas in js?

+4
source share
1 answer

I didn’t quite understand the question. But if you are looking for jqgrid resizing when resizing the browser, this might be useful

$(window).bind('resize', function() { jQuery("#grid").setGridWidth($('#parentDiv').width()-30, true); }).trigger('resize'); 
0
source

Source: https://habr.com/ru/post/1493864/


All Articles