BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
although described in your help (http://help.syncfusion.com/aspnetmvc; "PDF / Table / Grid / Formatting a grid"; ) this does not work:
"Format
You can specify the content format for the PdfGrid columns by using the Format property. Check String Formatting in DrawingText for more details"
I tried:
grid.Columns[3].Format = new PdfStringFormat(PdfTextAlignment.Right);
How can i set the alignment of a whole column in a pdfgrid?
//Create Light Table
PdfLightTable lightTable = new PdfLightTable();
//Set Data Table
lightTable.DataSource = dataTable;
//Set default style for whole grid column
lightTable.Style.DefaultStyle.StringFormat = new PdfStringFormat(PdfTextAlignment.Center);
Sample Link:
http://www.syncfusion.com/downloads/support/forum/119958/ze/LigtTableGridMVC-383056348
Thanks,
Karthik.
row.Cells[9].StringFormat = new PdfStringFormat(PdfTextAlignment.Right);
but that does not work either