Author Topic: PQ Grid 2.2.0 scroll resize bug  (Read 1887 times)

paulguz

  • Newbie
  • *
  • Posts: 13
    • View Profile
PQ Grid 2.2.0 scroll resize bug
« on: October 06, 2017, 04:27:34 pm »
Hi,

Firstly, many thanks for PQGrid, it's fantastic.

I've found a minor issue with horizontal scrolling when virtualX is true.

My CSS has a 1px border on the pq-grid element. 

In _setInnerGridHeight, the calculation of "ht" is using "this.element.height()", which is taking that border in to account every time it is called.  That was adding 2px (one for top, one for bottom) to the height of the grid every time I scroll.

I've removed my border and all is OK now.

Just thought you should know!
« Last Edit: October 06, 2017, 05:51:25 pm by paulguz »