jQWidgets Forums

jQuery UI Widgets Forums Grid Issue with columngroup

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Yavor Dashev 4 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Issue with columngroup #120397

    trigonoah
    Participant

    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?

    Issue with columngroup #120402

    Yavor Dashev
    Participant

    Hi trigonah,

    Yes the column headers must adjacent/siblings but still I wasn’t able to completely reproduce the issue that you do.

    If it is possible for you to create a code example(stackblitz or github repository) for us in order to assess your use case and possibly give you a solution/workaround for it.

    Please, do not hesitate to contact us if you have any additional questions.

    Best Regards,
    Yavor Dashev
    jQWidgets team
    https://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.