Author Topic: "Horizontal scrollbar" not getting displayed in PQ grid if column's having more  (Read 1857 times)

RamC

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 13
    • View Profile
Hello,

I have upgraded PQ Grid version to 9.1.1 from 3.3 and JQuery version to 3.7.1 from 2.1.4.

After upgraded this, in PQ grid Horizontal scrollbar not getting displayed, if columns having more in grid.

In my case PQ grid column's are not fixed. I can select/unselect column's from dropdown also to display in the grid as per requirement. previously it was working as expected.


Please advise.
Thanks.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6385
    • View Profile
Please ensure to upgrade jqueryUI also to one of the latest versions compatible with jquery 3.7.1.

Please remove the scrollModel.autoFit:  true option to display the horizontal scrollbar when required.

RamC

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 13
    • View Profile
Hi
 
I had try this by removing "scrollModel.autoFit:  true", but then empty columns are showing on the right hand side of the grid, if columns has less in grid.
 
Also i have try with other jqueryUI version. but still not worked. Currently i am using jqueryUI version 1.14.1 which is latest version.
 
Thanks.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6385
    • View Profile
It has nothing to do with jQuery/ jQueryUI but this is how scrollModel.autoFit works for now, the horizontal scrollbar is never displayed with this option.

The feature to display a horizontal scrollbar when column widths reach their minimum and no space remains for scrollModel.autoFit has been reintroduced in the upcoming version.