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

render merged and hidden cells as un-merged cells

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.9.6
    • 3.9.2, 3.9.4, 3.9.5
    • None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      1. run the attached zul
      2. click the cell "unhide" to show hidden rows (1 ~5)

      Current Result

      • A1:I1 looks like not merged
      • editbox only inside A1


      Expected Result

      • A1:I1 should be merged
      • editbox should as wide as the whole merged cell

      Root cause

      ZSS doesn't update a merged cell width when unhiding a row. Since the original implementation only consider the height changes.

      Solution

      update width when unhiding a row and update height when unhiding a column because both width and height might change.

        1. editbox.png
          7 kB
          hawk
        2. notMerged.png
          8 kB
          hawk
        3. t10372.zul
          0.3 kB
          hawk
        4. T10372MergeHiddenComposer.java
          1 kB
          hawk
        5. unhidden.png
          18 kB
          hawk

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

              Created:
              Updated:
              Resolved: