jquery - Free jqGrid 4.8.0 - Issue with autoResize -
i able upload bug jfiddle after days of trying re-create it. noticed since ported 4.7.0, couldn't pin-point exact issue.
the jfiddle describing issue @ jfiddle demo
this problem:
if set autoresize true, , if number of lines in grid longer grid height (so start see overscroll on right), every double click on column auto resize it, entire grid shrink, , keep shrinking more , more every additional click. (just click on column resize between session_status , end_time, see changing while grid width keep shrinking time).
if play jfiddle , have number of lines smaller height, grid works expected, $('#jqgrid').jqgrid('setgridheight', 500, false);
(just click on column resize between session_status , end_time, see changing while grid width kept same).
it hard me nail down issue on jfiddle since hidding while num of lines higher grid height.
is there way can work around issue?
(p.s. example keep re-using demo, didn't move templates yet)
thanks,
tal.
i can confirm, it's bug fixed after bug report. resizing of grid complex , tricky because there lot of different parameter combinations. hope new changes have no side effects.
you should refresh sources of free jqgrid gitgub. modified jsfiddle demo http://jsfiddle.net/olegki/mrfvsyc2/8/ uses latest sources github , problem fixed now. the fix consist replacing the line
if (p.tblwidth < p.width) {
to following
if (p.tblwidth + (hs ? scw: 0) < p.width) {
Comments
Post a Comment