Author Topic: Editing last row in virtualY table  (Read 2445 times)

Bohuslav Stanek

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 14
    • View Profile
Editing last row in virtualY table
« on: November 14, 2016, 06:28:34 pm »
Hi,

I found problem with editing last row of table with virtualX: true. Here is example http://jsfiddle.net/9s8g4e5q/1/.
If I double click on any cell in last row to edit, first row disappears. If I click again, second row dissapears.

Problem is probably in method _scrollRowVirtual. In version 3.3.0 on line 5068, there is condition ...
if (td_bottom > htCont - htSB - marginTop)
... where htSB is height of horizontal scrollbar. But scrollbar is not part of container pq-grid-cont, so htSb should not be probably in that condition in my opinion.

I hope my report will help to correct this.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Editing last row in virtualY table
« Reply #1 on: November 15, 2016, 02:08:10 pm »
Thanks for raising issue, looking into it.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Editing last row in virtualY table
« Reply #2 on: November 16, 2016, 08:30:21 pm »
It's fixed in v3.3.4, thanks for the pointer though!