Author Topic: Scrollbar overlay  (Read 1700 times)

atmaneuler

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 33
    • View Profile
Scrollbar overlay
« on: December 04, 2020, 08:35:16 am »
I have a issue: Scrollbar takes up the area on the right side of my grid
Expected: The scroll bar is at the top of the grid so that the last column can overflow the grid(picture 2)

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Scrollbar overlay
« Reply #1 on: December 04, 2020, 10:19:36 am »
Quote
Expected: The scroll bar is at the top of the grid so that the last column can overflow the grid(picture 2)

I'm not sure what you mean by it, but you can get layout in screenshot 2 by setting maxWidth of the last column.

https://paramquery.com/pro/api#option-column-maxWidth
« Last Edit: December 04, 2020, 10:21:08 am by paramvir »

atmaneuler

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: Scrollbar overlay
« Reply #2 on: December 04, 2020, 11:12:16 am »
I set width of grid is width: 'auto', and set last column is maxWidth and minWidth: 175px, the remaining columns are for automatic
Now my scrollbar takes up space of the grid so on the title bar there is 1 space, I want the scroll bar to display but not take up the grid space so that the title bar has no gaps (i.e. scroll bar does not take up the space of the mesh, it is on the grid I do use overflow: overlay but it is ineffective

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Scrollbar overlay
« Reply #3 on: December 04, 2020, 04:09:58 pm »
scrolling with overflow: overlay is not supported by pqgrid.