Uploaded image for project: 'ZK Spreadsheet'
  1. ZK Spreadsheet
  2. ZSS-1392

copy cells across 120 rows causes a javascript error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Steps to Reproduce

      1. run

      <spreadsheet id="ss"  src="/WEB-INF/excel/blank.xlsx" maxVisibleRows="300" maxVisibleColumns="50" width="100%"
      		height="90%"
      		showContextMenu="true" showSheetbar="true" showToolbar="true" showFormulabar="true"
       />
      

      2. paste cells from excel over 120 rows, e.g A1:A120

      Current Result

      zss.wpd:6733 Uncaught TypeError: Cannot read property 'getCell' of undefined
      at init._isProtect (zss.wpd:6733)
      at init._speedCopy (zss.wpd:6770)
      at fn (zss.wpd:16901)
      at init.onResponse (zss.wpd:957)
      at _invoke (zk.wpd:12829)
      at init.fire (zk.wpd:12812)
      at zk.wpd:12950

      Expected Result

      no such error

      Workaround

      • increase preload row /column size

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: