I’ve a jqGrid v3.7.2, after hiding a column using
.jqGrid('hideCol', infoName);
and setting the grid width using
.setGridWidth(setWidth, true)
The columns do not expand to fill the table width in IE8 only.
The table width is correct. The tbody/col widths comes short.
Any way to solve this problem via CSS? Or is there another method in jqGrid to correct this problem.
Found a solution from:
IE8 isn't resizing tbody or thead when a column is hidden in a table with table-layout:fixed
Simplified below for my purpose, added right after I hide the column: