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

Grid with multiple tbody elements

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 8.0.3
    • Fix Version/s: None
    • Component/s: Components
    • Labels:
      None
    • Environment:

      Apache Tomcat 8

      Description

      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.

        Activity

        Hide
        Worsik Worsik added a comment -

        Same for Listbox (screenshots of usecases attached)

        Show
        Worsik Worsik added a comment - Same for Listbox (screenshots of usecases attached)

          People

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

            Dates

            • Created:
              Updated: