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

render merged and hidden cells as un-merged cells

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.9.2, 3.9.4, 3.9.5
    • Fix Version/s: 3.9.6
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      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.

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: