Using setGridWidth method on jqGrid with ‘shrinktofit’ parameter ‘true’ when using with Bootstrap causes an unnecessary horizontal scrollbar to appear when number of records is less (i.e. without vertical scrollbar).
The horizontal scrollbar disappears as soon as records are more (i.e. with vertical scrollbar). To demonstrate the problem I have called setGridWidth method on Loadcomplete
I have even replicated the problem on jsfiddle: http://jsfiddle.net/yoabhinav/uqonspmd/
Here is a fiddle with setGridWidth method call inside Loadcomplete event commented which works fine as expected: http://jsfiddle.net/yoabhinav/knuj9xet/
Copyright 2014 TriRand LtdAll Rights ReservedRSSBack to Top