multi level group headers in jqgrid
Asked Answered
L

1

1
            Main-header

   subhead1 |subhead2 |subhead3

subhead1 |subhead2 |subhead |subhead4


----------------------------------------
        column names come here
----------------------------------------

Can we have the multilevel headers in JQGrids as shown above.Can any one please.

Lubricity answered 12/7, 2013 at 16:4 Comment(1)
If you are still looking for a resolution, there is a new answer on the following question. I think it is the best solution yet. https://mcmap.net/q/1143595/-adding-more-than-two-columng-group-headers-in-jqgridQuartet
A
1

It's not clear what you mean under subheadres because you placed all column names in the last line and included 3 levels or come kind of headers.

What you can do is use caption option of jqGrid to create "Main-header". You can additionally create one level of column grouping with respect of setGroupHeaders method like described in the documentation. More levels of subheads are not supported.

UPDATED: A possible implementation of multilevel grouping of headers I described in the answer.

Anamorphism answered 12/7, 2013 at 16:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.