I have a grid that displays a column for every month of the year. I’ve been using column groupings to display information in a readable way, with the column header merged for sibling columns. I’m running into an issue though. Let’s say I have 4 columns – September, October, November, December with the following columngroup properties:
September: columngroup = “Event1”
October: columngroup = “Event1/Event2”
November: columngroup = “Event1/Event2”
December: columngroup = “Event1”
If defined this way I get an error stating that “Uncaught Error: jqxGrid: Column Groups initialization Error. Please, check the initialization of the jqxGrid’s columns array. The columns in a column group are expected to be siblings in the columns array.”
I understand this occurs because the columngroup property acts as a unique identifier and to properly merge the column headers for display they must be adjacent to each other (siblings). However, for my application there will definitely be instances where one event exists midway through another event. Is there any way around this?