We have jqgrid within layout object – which are usually div. When the browser resizes or layout object is resized, we are manually having to set grid width and height for each grid. Is there way to globally attach the grid to a object so that when the parent object resizes, grid automatically sizes – this way there is no need to write the resize code for every grid.
so when myContainer is resizes – grid gets width and height of the myContainer.
This is partially done when this apply to the width – using the two grid options autowidth and responvive – both set to true. The problem is with the height. The setGridHeight method set the height only for the data parat of the grid omitting the other parts like headers, pager toolbars, searchbars and other.
This is really a problem since we do not know if other parts will be created which apply to the grid height (since a external methods are used)
If you have a idea how to resolve the height problem this would be great.