Reputation: 163
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 advance
Upvotes: 1
Views: 4122
Reputation: 221997
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?)
Upvotes: 1