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

      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.

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

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

              Created:
              Updated: