1
Bug Report / Re: Bug when grid inside a jQueryUI dialog
« on: July 21, 2024, 08:38:29 am »
I fixed this by adding the following code:
Insert new line 27564 in calcTopBottom:
Insert new line 27655 in getLeft: (was 27654)
Will this fix or an alternative be added in the next release?
CAUSE
When the grid is added to a hidden jQuery UI dialog or a hidden grid and the parent or screen is resized, this bug appears. If the parent is later made visible, then the bug stops happening because this.dimms and this.leftArr get defined on first visble refresh.
Insert new line 27564 in calcTopBottom:
Code: [Select]
if(typeof(this.dims)==="undefined") return 0;
Insert new line 27655 in getLeft: (was 27654)
Code: [Select]
if(typeof(this.leftArr)==="undefined") return 0;
Will this fix or an alternative be added in the next release?
CAUSE
When the grid is added to a hidden jQuery UI dialog or a hidden grid and the parent or screen is resized, this bug appears. If the parent is later made visible, then the bug stops happening because this.dimms and this.leftArr get defined on first visble refresh.