Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-381

set 150 columns width to 0px produces a javascript error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Later Later
    • 6.1.0
    • None
    • None
    • None

      Steps to Reproduce

      1. run the attached zul
      2. click the button to hide 150 columns

      Current Result

      ncaught TypeError: Cannot read property 'appendZSW' of undefined
      at init.appendZSW (zss.wpd:29594)
      at init.appendZSW (zss.wpd:18293)
      at init._appendZSW (zss.wpd:40215)
      at init._setColumnWidth (zss.wpd:39637)
      at init._setColumnWidth (zssex.wpd:4212)
      at init._cmdSize (zss.wpd:38341)
      at _doSizeCmd (zss.wpd:12440)
      at init._size (zss.wpd:12735)
      at init.setColumnSize (zk.wpd:11277)
      at Function._set2 (zk.wpd:12252)

      Expected Result

      150 columns are hidden without errors

      Workaround

              Range columnRange = Ranges.range(sheet, 0, 2, 0, 152).toColumnRange();
              CellOperationUtil.hide(columnRange);
      

            Unassigned Unassigned
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: