AddRowHeaderCellSpan() too slow

Posted by: kem-erd on 8 September 2017, 2:33 pm EST

  • Posted 8 September 2017, 2:33 pm EST

    Hi There,

    I was recently profiling my application to see why it works so slowly and singled out AddRowHeaderCellSpan() as the problem. The application creates a lot of rows with hierarchic headers, spanning multiple columns. When I remove the call to the function the application starts to work reasonably but then some of the text in parent cells appear as cut. So, if it were possible to overflow the text to the next cell, it would be fine as the next cell in the parent rows are empty. I tried the setting "AllowCellOverflow" property to true, but it seems not to work on headers. Any suggestions please?

    UPDATE: I forgot to add our version: We use Winforms v4.0

    Thank you,


  • Replied 8 September 2017, 2:33 pm EST


    You may set WordWrap property to true for header cells after setting them as TextCellType.




  • Replied 8 September 2017, 2:33 pm EST

    <SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt;mso-fareast-font-family:'MS Mincho';mso-bidi-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;">There is not a way to have cells overflow in the header cells. You can do it in the frozen cells as long as it is not overflowing across the frozen boundary.</SPAN>
Need extra support?

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

Learn More

Forum Channels