开发者

in jqGrid the grid size should be based on form or window size

开发者 https://www.devze.com 2023-01-16 19:29 出处:网络
I wanna grid in jqGrid should vary its size dynamically depending on the window or browser size. Is there any way to achieve the same. Any help will be appreciated and thanks in开发者_Python百科 advan

I wanna grid in jqGrid should vary its size dynamically depending on the window or browser size. Is there any way to achieve the same. Any help will be appreciated and thanks in开发者_Python百科 advance


Just define autowidth:true option of jqGrid.

If you want have the grid width changed after the user resize the browser window you should call setGridWidth on every resize event (see Resize jqGrid when browser is resized?)

0

精彩评论

暂无评论...
验证码 换一张
取 消