Hi again
,
I have a setup that has 2 grids within an Accordian that is inside a UI-Layout pane – I've left all that in just in case it's relevant in any way – I have a couple of problems that show up within IE (6&7).
The first can be seen on the following page:-
http://www.thekmz.co.uk/GEPlugin/wip/test/gridtest3/gridtest3a.htm
The grids are set to autowidth:true and height:'auto'.
(Having 2 grids means I can't use height:'100%' as that throw the 2nd grid down the page and gives a vertical scroll)
When the Layout-Pane is resized (by dragging the grey vertical bar) the Accordian is resized and so are the grids (using setGridWidth to 5px less than the accordian's outerwidth). This works as expected in FF but in IE making the Pane larger (drag left) the Grids increase in width OK but if I then make it smaller the Grids don't resize and I get a horiz scroll even if the columns should fit.
(I also get a vertical scroll in IE when initially loading the page which I can't seem to be able to get rid of – I can't see a reason why that is there – it's not in FF but may not be due to jqGrid – I don't know?)
The second problem is related to height:auto and can be seen on this page:-
http://www.thekmz.co.uk/GEPlugin/wip/test/gridtest3/gridtest3b.htm
This setup is exactly the same as the first but in this one I've made the final column in the first grid wider so that it will give a horiz scroll when initially loaded. In FF it's looks fine and the autoheight works and I can see all the records. In IE however I not only get a horiz scroll but also a vertical one and all the records are not visible. I don't know if this is related in any way to problem 1 but I can't figure out a way to solve it without (maybe) setting and recalculating the height in code.
I've searched the forum, promise, as much as I can but can't seem to find a fix so any help would be greatly appreciated.
(I'm using 3.5 build 11)
Thanks and regards
Romyn