Author Topic: Tiny bug in v10.0.1  (Read 30 times)

jplevene

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 131
    • View Profile
Tiny bug in v10.0.1
« on: November 19, 2024, 09:27:14 pm »
If the grid is created inside a hiden parent (parent hidden before grid created, like a jquery UI dialog), errors occure unless the following code is added:

getTop: function(ri, actual) {
   var top = this.topArr ? this.topArr[ri] : 0,
         ....

getLeft: function(_ci, actual) {
   if(typeof(this.leftArr)==="undefined") return 0;
        ....

calcTopBottom: function(left) {
   if(typeof(this.dims)==="undefined") return 0;
   ...
« Last Edit: November 19, 2024, 09:36:59 pm by jplevene »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6308
    • View Profile
Re: Tiny bug in v10.0.1
« Reply #1 on: November 20, 2024, 11:58:48 am »
This is a duplicate of the issue already raised by you and this is fixed in v10.1.0

Test case:

https://jsfiddle.net/u0n296ym/1/