hkv
hkv

Reputation: 163

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

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

Answers (1)

Oleg
Oleg

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

Related Questions