This is a migrated thread and some comments may be shown as answers.

Problem with RightToLeft FlowDirection and column header names

1 Answer 26 Views
This is a migrated thread and some comments may be shown as answers.
Falafel Support
Top achievements
Rank 1
Falafel Support asked on 09 Mar 2011, 06:16 PM

When I set the FlowDirection to 'RightToLeft' and define a column name which has a closing parenthesis as the last character, the parenthesis gets moved to the front of the text.

My Grid definition

<grid:RadGridView x:Name="GridOrderResults" Grid.Row="0" BorderThickness="0" Margin="1" 
                Style="{StaticResource RadGridViewDefaultStyle}" 
                HeaderRowStyle="{StaticResource GridViewHeaderRowStyle1}"
                RowStyle="{StaticResource GridViewRowStyle1}"
                AlternateRowStyle="{StaticResource AlternateRowStyle1}"
                ItemsSource="{Binding Path=ExampleGridData,Mode=OneTime}"

My column definition
    <grid:GridViewDataColumn DataMemberBinding="{Binding Path=Amount}" UniqueName="Amount" IsReadOnly="True"HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}">
            <TextBlock Style="{StaticResource GridTextBlockHeader}">Amount (USD)</TextBlock>

and the result in the grid is in the attached file but the text is: (Amount (USD

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 10 Mar 2011, 09:36 AM

Generally, this is the expected behavior defined by the Framework itself and does not depend on any settings of the RadGridView. You may test the same behavior with a TextBlock defined outside of the grid. Please take a look at this forum thread for further reference that contains a bit more detailed explanation on the topic.

All the best,
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Asked by
Falafel Support
Top achievements
Rank 1
Answers by
Telerik team
Share this question