Details
-
Bug
-
Resolution: Fixed
-
Normal
-
8.5.0, 8.6.0
-
Security Level: Jimmy
-
ZK 8.6.1 S1
Description
Steps to Reproduce
run frozen-detach-auxhead.zul
click either button to detach the frozen component or the whole listbox
Current Result
Expected Result
no error
Debug Info
happens when one auxheader uses rowspan > 1
Root Cause
Workaround
/*Patch for ZK-4135*/ zk.afterLoad('zul.mesh', function() { var xFrozen = {}; zk.override(zul.mesh.Frozen.prototype, xFrozen, { _clearColumnBorders : function() { var mesh = this.parent, lastFrozenCols = this._lastFrozenCols, frozenBorderClz = this.$s('col'); if (lastFrozenCols && lastFrozenCols.length != 0) { for (var i = 0; i < lastFrozenCols.length; i++) { var nextCol = lastFrozenCols[i] && lastFrozenCols[i].nextSibling; if (nextCol) jq(nextCol).css('border-left', ''); } } jq(mesh.$n()).find('.' + frozenBorderClz).removeClass(frozenBorderClz); } });//zk.override });//zk.afterLoad