Hi All
protected
void rgvReport_OnExcelExportCellFormatting(object source, ExcelExportCellFormattingEventArgs e)
{
if (e.FormattedColumn.HeaderText == "Date")
e.Cell.HorizontalAlign =
HorizontalAlign.Center;
}
This coding is for setting the alignment for a field with heading "Date" to center in excel.
I there any option like this for changing the alignment in pdf
Same thing to make the field with heading "Date" to center.
-Anto