Author Topic: Scroll Model Issue With Param Query 5.0.1  (Read 3287 times)

Imran Ahmed

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 3
    • View Profile
Scroll Model Issue With Param Query 5.0.1
« on: December 29, 2017, 01:10:19 pm »
Hi Team,

I have developed a screen with Param Query Pro Free Version which includes horizontal scroll bar. Now I am replacing that free version with ParamQuery-5.0.1 (Paid version).

But, the horizontal scroll bar is not appearing with the 5.0.1 version change.

Am using the following code to bring the scrollbar.

            scrollModel : {
                                    autoFit : true,
                                },
             virtualX : true,
             virtualY : true,
             width : 'flex',
             maxWidth : '100%',
             height : 'flex',
             maxHeight : 470

Kindly let me know if I am doing anything wrong here. If not, Please suggest me any solution.

Thanks in Advance.


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: Scroll Model Issue With Param Query 5.0.1
« Reply #1 on: December 29, 2017, 01:17:16 pm »
you need to remove

scrollModel : { autoFit : true }

Imran Ahmed

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Scroll Model Issue With Param Query 5.0.1
« Reply #2 on: December 29, 2017, 02:46:07 pm »
Thank you. It works.

But now facing another issue.

While scrolling horizontally, the columns are getting overlapped.

Attached the screenshot for your reference. NormalColumns.png -> Columns before applying scroll. OverlappedColumns.png -> Columns after applying scroll.

First three columns are frozen columns. (Select, Id, Description). And this table got 3 more hidden frozen columns also.

Kindly suggest me any solution for this issue.


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: Scroll Model Issue With Param Query 5.0.1
« Reply #3 on: December 29, 2017, 03:59:52 pm »
Have you updated the grid stylesheets (v5.1.0) and using the compatible version of jQueryui (1.11.4)

Imran Ahmed

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Scroll Model Issue With Param Query 5.0.1
« Reply #4 on: December 29, 2017, 04:20:04 pm »
I updated all the files related to the Parm Query to 5.0.1 version. (Including stylesheets).

JQuery UI version used is also 1.11.4.

Both are updated.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: Scroll Model Issue With Param Query 5.0.1
« Reply #5 on: December 29, 2017, 04:45:38 pm »
Could you please share a plnkr of the issue.

https://plnkr.co/edit/zo6TdOvweAFvWM5JLasV?p=preview