We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

PdfGrid alignment

Hello
I have created a PdfGrid but I don't know how to make differente alignment (right, left) to different columns.
Can you help me ?
Thanks

1 Reply

JB Jaffersathick B Syncfusion Team February 15, 2010 02:38 PM UTC

Hi Jose,
Thank you for using Syncfusion products.

We suggest you to use Horizontal alignment to set the text alignment to the column. Please refer the below code snippet for setting the alignment to the column.

[CS]
this.GridGroupingControl1.TableDescriptor.Appearance.AnyCell.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Right;


Let me know if you have any queries.

Regards,
Jaffer.B

Loader.
Live Chat Icon For mobile
Up arrow icon