Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
465
How to set cell padding only for the right?
posted

I want to increase the cell padding only for the right.  Is it possible and how?  Thanks.

Parents
No Data
Reply
  • 7375
    Offline posted

    Hello Michael,

    Thank you for posting to our forum.

    To apply the cell padding we do have cellpadding property which you can use it like this:

    this.ultraGrid1.DisplayLayout.Bands[0].Override.CellPadding = 2;

    But keep in mind this padding would be applicable to all sides of the cell.
    There is no way to apply cell padding only to the right side.

    Please let me know if you need further assistance.

Children
No Data