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,

    K.

  • Replied 8 September 2017, 2:33 pm EST

    Hello,

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

     

    Thanks,

     

  • Replied 8 September 2017, 2:33 pm EST

    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.
Need extra support?

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

Learn More

Forum Channels