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

Grid with multiple tbody elements

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 8.0.3
    • Components
    • None
    • Apache Tomcat 8

      It would be very handy to get an option to have multiple tbody elements generated for one grid. I will explain why there is hidden feature.

      Sometiomes you have lack of space on the page and you need to make grid pretty small on width. Then you can logically split one row to two or more different grid rows.
      Problem is with an automatic grid behavior on hovering on the single row. Expected behavior would be that background of all lines will change when hovering one of them.
      Same problem is when identifying even and odd rows.

      Note, that I need to use my own rendering methods instead of RowRenderer, so I am creating rows manually. Otherwise I wouldnt have a chence to create two rows for one line.

      Solution should be quite simple by CSS, but then each logical row should be encapsulated in its own tbody element, which I could style with CSS.

      Groups cannot be used for this and any other CSS solution I tried failed in some of problems.

      Thank you for suggestions how to do it or for new feature implementation.

            Unassigned Unassigned
            Worsik Worsik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: