Completed
Last Updated: 26 Oct 2015 16:20 by ADMIN
ADMIN
George
Created on: 05 Aug 2014 10:37
Category: GridView
Type: Bug Report
0
FIX. RadGridView - group header rows text is not right to left
To reproduce:

Open the examples and navigate to GridView -> RightToLeft and toggle on RightToLeft. You will see that the GridGroupHeaderRowElements will have its text LeftToRight.

Workaround:

Use ViewCellFormatting:

private void Grid_ViewCellFormatting15(object sender, CellFormattingEventArgs e)
{
    if (e.CellElement.RowElement is GridGroupHeaderRowElement && e.CellElement.RowElement.Children.Any() && e.CellElement.RowElement.Children.Last() is GridGroupContentCellElement)
    {
        (e.CellElement.RowElement.Children.Last() as GridGroupContentCellElement).TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
    }
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments