Home › Forums › Guriddo jqGrid JS › Grid resizing
This topic contains 1 reply, has 2 voices, and was last updated by guriddo.support 7 months ago.
I am using jqgrid inside a responsive div.
Is there a way auto fit the grid inside the div when size of the div changes.
I know you have setGridWidth and setGridHeight methods.
I tried to use $(div).width() and setting it with setGridWidth – it does not always properly work
The grid is responsive if the window width is changed.
To make it responsive inside a html element you will need just to bind a resize function to the element and change the grid width.
Suppose the grid is the id of the grid and element is id of div, then
Guriddo Support Team
You must be logged in to reply to this topic.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS