Wijmo allowMerging to false is not working

Posted by: kvannorstrand on 7 June 2018, 2:13 am EST

    • Post Options:
    • Link

    Posted 7 June 2018, 2:13 am EST - Updated 3 October 2022, 11:29 am EST

    Hello,

    I have a situation where I have duo headers and dragable columns. Because of the duo headers, if i drag columns it merges the headers if they are similar. However, I want one header (the top one) mergable and the 2nd header to not merge. Is there any way to do this?

    Here is the example, I basically want the Current % header to not merge together

  • Posted 7 June 2018, 7:26 pm EST

    Hi,

    You may set allowMerging property of Row to false if you would not like merge to a row

    content.

    Please refer to following code snippet:

    flexGrid.columnHeaders.rows[1].allowMerging=false;
    

    You may also refer to the following sample:-

    https://stackblitz.com/edit/angular-yankdg?file=app%2Fapp.component.ts

  • Posted 7 June 2018, 11:32 pm EST

    That worked! Thank you

Need extra support?

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

Learn More

Forum Channels