-
Bug
-
Resolution: Fixed
-
Normal
-
2.5.0
-
None
refer to attached sample code
for workaround, refer to attachment
Reproducing Steps:
1. create and visit the zul page below:
<spreadsheet src="/TestFile2007.xlsx" preloadRowSize="5" preloadColumnSize="5" rowfreeze="10" columnfreeze="10" maxrows="1000" height="100%" width="100%" maxcolumns="100"> </spreadsheet>
2. the following JS error showed
Uncaught TypeError: Cannot call method 'getCell' of undefined zss.wpd:5333 zss.Cell.zk.$extends.$init zss.wpd:5333 (anonymous function) zk.wpd:9 zss.CellBlockCtrl.zk.$extends.$init zss.wpd:4734 (anonymous function) zk.wpd:9 zss.TopPanel.zk.$extends.initFrozenBlock_ zss.wpd:11854 zss.Panel.zk.$extends.$init zss.wpd:11039 (anonymous function) zk.wpd:9 zss.SSheetCtrl.zk.$extends.afterParentChanged_ zss.wpd:14231 zk.Widget.zk.$extends.appendChild zk.wpd:19 zss.Spreadsheet.zk.$extends.setActiveRange zss.wpd:737 zk.copy._set2 zk.wpd:9 zk.Widget.zk.$extends.set zk.wpd:19 h zk.wpd:21 h zk.wpd:21 d zk.wpd:21 l zk.wpd:20 zk.copy.setLoaded._zkf zk.wpd:20 (anonymous function) zkex.inp.wpd:10 l zk.wpd:20 zk.copy.setLoaded._zkf zk.wpd:20 (anonymous function) zk.wpd:2063 l zk.wpd:20 zk.copy.setLoaded._zkf zk.wpd:20 (anonymous function)