Wijmo flexgrid custom merge

Posted by: mary431982 on 28 July 2020, 9:39 pm EST

  • Posted 28 July 2020, 9:39 pm EST

    Hello, can You provide me with code that merges column headers and also just some certain columns in flexgrid, columns with certain id/name…

    Thanx!

  • Posted 29 July 2020, 3:58 pm EST

    Hi,

    Please refer to the demo link below:

    https://www.grapecity.com/wijmo/demos/Grid/Merging/CustomMerging/purejs

    This sample demonstrates how you can use the MergeManager class to provide custom merging in FlexGrid. This sample only shows how to merge cells but the same concept can be used to merge headers of the grid.

    Regards,

    Ashwin

  • Posted 5 August 2020, 7:38 pm EST

    Thanx for your reply,

    I have seen this example and I’ve tried to change it for my needs, but I can’t manage to succeed to get what I want, I need only column header rows to be merged vertically AND horizontaly, and regular non header cells to be merged vertically only for some certain columns that are hard-coded.

  • Posted 5 August 2020, 8:42 pm EST

    For example, I have 2 column header rows, and for each column - cells in Column header rows are equal and I want them to be merged vertically!! (for each column);

    but - for non column header rows - I want only one column (for example the second one) to have merged cells vertically!

    I can’t get it to work…

  • Posted 5 August 2020, 9:03 pm EST

    Maybe I finally did it, instead of using r < columnHeader.rows.length for trying to merge column header row cells - I am now using: panel.cellType == 2…

  • Posted 6 August 2020, 3:43 pm EST

    Hi Mary,

    Can you let me know if your issue is fixed or should I provide you a sample?

  • Posted 6 August 2020, 7:33 pm EST

    Yes - my issue is fixed I think :slight_smile: Thanx for your response!!

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels