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

Grid body: specifying <columns visible="false"> causes grid content to be scrollable and have fixed height

    XMLWordPrintable

    Details

      Description

      Hello.

      We detected that specifying visible="false" for element <columns> affects grid in a strange way.

      For example a grid with nested groupbox.

      2 versions, differ by:
      1. attribute is not set: <columns> (normal-grid-grow.zul)
      2. attribute is set: <columns visible="false"> (strange-grid-scroll.zul)

      Version 1: left click on groupbox causes grid and window to grow. This is normal behavior.

      Version 2: left click on groupbox causes a scrollbar to appear inside grid. This is unexpected behavior.

      Strange thing is that attribute visible of nested element <columns> defines whether grid content grows or has fixed height and a scrollbar.

      Possible solution: allow user to specify if grid content should have fixed height or if it should grow automatically.

      Thank you.

        Attachments

        1. initial_window.png
          initial_window.png
          36 kB
        2. normal-grid-grow.zul
          1.0 kB
        3. strange-grid-scroll.zul
          1.0 kB
        4. window_with_expansion.png
          window_with_expansion.png
          77 kB
        5. window_with_scrollbar.png
          window_with_scrollbar.png
          66 kB

          Activity

            People

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

              Dates

              Created:
              Updated: