Declined
Last Updated: 21 Oct 2015 10:39 by ADMIN
ADMIN
Dimitar
Created on: 22 Dec 2014 07:13
Category: GridView
Type: Bug Report
0
FIX. RadGridView - when the RTL is set to Yes the column header cells text is not correctly aligned.
To reproduce:
- Bind the grid to a data source and set its RightToLeftProperty to true.

Note: use Visual Studio 2008 under Windows XP with .NET 2.0

Workaround:
Private Sub RadGridView1_ViewCellFormatting(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.CellFormattingEventArgs)
 
    If RadGridView1.RightToLeft = Windows.Forms.RightToLeft.Yes Then
        e.CellElement.TextAlignment = ContentAlignment.MiddleLeft
    End If
End Sub
1 comment
ADMIN
Ralitsa
Posted on: 21 Oct 2015 10:38
We performed few tests with Visual Studio 2008 and Windows XP and we was not able to reproduce the issue. After further investigation of provided applications in support thread, we found that the HeaderTextAlignment property was set to BottomCenter for one of columns in Designer file.