Hi,
I have added summary row total in my grid but I am not getting it aligned in anyway. I have tried by following method
private void rgvFinancials_ViewCellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
if (e.CellElement is Telerik.WinControls.UI.GridSummaryCellElement)
{
e.CellElement.Alignment = ContentAlignment.MiddleRight;
e.CellElement.UpdateLayout();
}
}
I tried by commenting and uncommenting following statement also:
e.CellElement.UpdateLayout();
But there is no effect on the cells of summary row.
Please guide me how can I align text in the summary row cells.
Regards,
Ahmed Almousa
I have added summary row total in my grid but I am not getting it aligned in anyway. I have tried by following method
private void rgvFinancials_ViewCellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
if (e.CellElement is Telerik.WinControls.UI.GridSummaryCellElement)
{
e.CellElement.Alignment = ContentAlignment.MiddleRight;
e.CellElement.UpdateLayout();
}
}
I tried by commenting and uncommenting following statement also:
e.CellElement.UpdateLayout();
But there is no effect on the cells of summary row.
Please guide me how can I align text in the summary row cells.
Regards,
Ahmed Almousa