-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 8.5.0, 9.0.1
-
Component/s: Components
-
Security Level: Jimmy
-
ZK 9.5.0 S1
-
None
Steps to Reproduce
run the attached example
Current Result
2 JS errors appear in the console
Uncaught TypeError: Cannot read property 'style' of undefined
at zk.wpd:59370
(anonymous) @ zk.wpd:59370
setTimeout (async)
visible @ zk.wpd:59360
(anonymous) @ zk.wpd:11275
_set2 @ zk.wpd:12250
setter.func @ zk.wpd:20814
zk.Widget.zk.$extends.set @ zk.wpd:20842
create @ zk.wpd:26292
create @ zk.wpd:26304
create @ zk.wpd:26304
create @ zk.wpd:26304
mtBL @ zk.wpd:26111
zkx @ zk.wpd:26379
zkmx @ zk.wpd:26407
(anonymous) @ listbox.zul:16
zk.wpd:49802 Uncaught TypeError: Cannot read property 'colSpan' of undefined
at init._findFrozenCols (zk.wpd:49802)
at init._syncColumnBorders (zk.wpd:49781)
at init.bind_ (zk.wpd:49445)
at init.bindChildren_ (zk.wpd:22654)
at init.bind_ (zk.wpd:22617)
at init.$supers (zk.wpd:12954)
at init.bind_ (zk.wpd:57956)
at init.$supers (zk.wpd:12954)
at init.bind_ (zk.wpd:62674)
at init.$supers (zk.wpd:12954)
_findFrozenCols @ zk.wpd:49802
_syncColumnBorders @ zk.wpd:49781
bind_ @ zk.wpd:49445
bindChildren_ @ zk.wpd:22654
bind_ @ zk.wpd:22617
$supers @ zk.wpd:12954
bind_ @ zk.wpd:57956
$supers @ zk.wpd:12954
bind_ @ zk.wpd:62674
$supers @ zk.wpd:12954
bind_ @ zk.wpd:63979
bindChildren_ @ zk.wpd:22654
bind_ @ zk.wpd:22617
$supers @ zk.wpd:12954
bind_ @ zk.wpd:37891
$supers @ zk.wpd:12954
bind_ @ zk.wpd:50975
bindChildren_ @ zk.wpd:22654
bind_ @ zk.wpd:22617
bind @ zk.wpd:22535
replaceChildHTML_ @ zk.wpd:22266
replaceHTML @ zk.wpd:22101
mtBL0 @ zk.wpd:26151
mtBL @ zk.wpd:26122
zkx @ zk.wpd:26379
zkmx @ zk.wpd:26407
(anonymous) @ listbox.zul:16
setTimeout (async)
zkx @ zk.wpd:26385
zkmx @ zk.wpd:26407
(anonymous) @ listbox.zul:16
Expected Result
no errors
Debug Information
removing the visible="false" on the <listhead> element avoids 1st error
reducing the frozen columns from 3 to 2 avoids the 2nd error from 9.0.0 on
Workaround
attached patch patch-ZK-4563.js.txt
- blocks
-
ZK-5034 z-columns-bar's position is shifted after scrolling
-
- Closed
-