ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: Sunny on June 13, 2015, 06:30:54 am

Title: Horizontal Scroll bar not visible for first time when grid is loaded
Post by: Sunny on June 13, 2015, 06:30:54 am
Hi,

Recently I changed my column model to retrieve the column data from database. After that change, I noticed an issue that Horizontal Scroll bar is not visible in Chrome/FireFox when the grid is loaded. It becomes visible when I toggle the grid or even toggle the browser window. I tried options like Scrollbar:{horizontal:true}, but no luck.

Please advice,

Thanks.
Title: Re: Horizontal Scroll bar not visible for first time when grid is loaded
Post by: paramvir on June 13, 2015, 12:20:40 pm
There should be a call to refresh after dynamic change of column properties, especially the ones that affect layout of the grid viewport.

http://paramquery.com/pro/api#method-refresh
Title: Re: Horizontal Scroll bar not visible for first time when grid is loaded
Post by: Sunny on June 13, 2015, 01:51:59 pm
Thank you. It worked in both chrome and IE, after calling refresh() method . Wondering why scrollbar in IE browser worked with out calling to refresh method.