C1FlexGrid borders

Posted by: qopqui on 7 August 2017, 5:48 pm EST

  • Posted 7 August 2017, 5:48 pm EST

    I have Silverlight application with C1FlexGrid. I would like to add border after every fifth row and after every fifth column (see picture). Those lines should be visible only if I print grid (paper/pdf/etc.). How to implement this? I tried by myself to override CreateCellBorder but for example lost the color of left/top/right border while adding bottom border.

  • Replied 7 August 2017, 5:48 pm EST


    Thanks for providing the screenshot.

    It is directly not possible to achieve the same so, we are further discussing it with the concerned team. We will let you know as soon as we are done with it.

  • Marked as Answer

    Replied 7 August 2017, 5:48 pm EST


    You can try to create in-memory or hidden C1FlexGrid instance, copy data and settings from visible FlexGrid control, then alter hidden FlexGrid appearance so that to show these borders and then print this hidden grid using GetPageImages method as showing in our Printing sample.

Need extra support?

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

Learn More

Forum Channels