Hello,
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.
for example:
1 2 3 4 5 6 7 |
<div id="myContainer"> <table id="myGrid"></table> <div id="myGridPager"></div> </div> $("#myGrid").attachGridTo("#myContainer"); |
so when myContainer is resizes – grid gets width and height of the myContainer.
Any advise would be appreciated.
Thanks,
Kris
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top