Is there a way to control the space between rows?

Posted by: pfisteam on 8 September 2017, 3:21 pm EST

  • Posted 8 September 2017, 3:21 pm EST

    Hi,

    I have data on my spread that is sorted by a field (estimated date time). And the rows that have the same estimated DateTime logically belong to a group. And instead of inserting a blank rows between groups (to visually separate them), I want to increase the space (margin) between the rows where one group ends and another one begins. Is it possible to achieve this? I do not want to use the grouping functionality.

    Thank you,
    Leana.
  • Marked as Answer

    Replied 8 September 2017, 3:21 pm EST

    Hello,

    You can use the CellPadding property of the row class: http://sphelp.grapecity.com/WebHelp/SpreadNet9/WF/webframe.html#FarPoint.Win.Spread~FarPoint.Win.Spread.Row~CellPadding.html

    In the example code on that page, you can specify the padding for specific sides of the cells in the row (i.e. you would use CellPadding.Bottom and/or CellPadding.Top in this use case).

    Let me know if that helps.

    Regards,
    Kevin
  • Replied 8 September 2017, 3:21 pm EST

    Yes, thank you , it definitely helped.
Need extra support?

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

Learn More

Forum Channels