Using jqgrid v4.3.2 (or .1):
When I set up a grid with a specific width or option autowidth: true, then attempt to hide columns via .jqGrid('hideCol', '[column name]'), the grid expands to fill width as if no width was set.
I can get around this by saving the width beforehand, and manually setting it after, like so:
$grid.jqGrid('setGridWidth', width);
$grid.jqGrid('hideCol', 'cb');
$grid.jqGrid('setGridWidth', width);
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top