Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4246

Grid detail is invisible with ZK 8.6.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.6.1
    • Fix Version/s: 9.0.1
    • Component/s: Components
    • Labels:
    • Environment:

      Java 11
      Spring Boot 2.1.3.RELEASE
      ZK Spring Boot starter 1.0.4
      ZK Spring core 4.0.0
      ZK 8.6.1
      ZK Theme pack 8.6.0.1 (iceblue)

    • gh.sprint.customfield.default.name:
      ZK 9.0.1 S1

      Description

      Steps to Reproduce

      When upgrading from ZK 8.6.0.1 to 8.6.1, the content of the grid detail appears as hidden (visibility:hidden) :

      Fiddle : http://zkfiddle.org/sample/1d5qgpk/2-Grid-detail-invisible-with-ZK-8-6-1

      Current Result

      The detail grid is invisible

      Expected Result

      The detail grid is visible

      Debug Information

      https://github.com/zkoss/zk/commit/5e8d5547f0366151b88a025e3c67c8ff2c92fdcf#diff-9d09aa23b5e41daed1a2f2cf664115e0R1299
      Grid with no head will hide the body

      Workaround

      Defines columns explicitly

      <detail>
          <grid mold="paging" pageSize="5" emptyMessage="No options">
              <columns>
                  <column/>
                  <column/>
              </columns>
         // omitted
      </detail>
      

      or just remove the empty <columns/>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rudyhuang rudyhuang
              Reporter:
              YannUnil YannUnil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 3 hours Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 3 hours Remaining Estimate - 1 hour
                  3h