tags:

views:

79

answers:

2

Hi,

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

A: 

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 http://stackoverflow.com/questions/875225/resize-jqgrid-when-browser-is-resized)

Oleg
Thanks a ton and it worked for me.
hitesh
A: 

Hi everybody.... i m using jqgrid using php.. well its window is small about 650px, can anyone suggest how to increase or fit its size to browser,

its urgent ... plz reply soon

raj