This is a migrated thread and some comments may be shown as answers.
Right To Left language on DataGridTextColumn
1 Answer 10 Views
This is a migrated thread and some comments may be shown as answers.
Muhammed
Top achievements
Rank 1
Muhammed asked on 12 May 2019, 03:05 AM

Hi i'm using trial Ver and when i bind DataGridTextColumn to Arabic letters

its show Arabic with left to right  on UWP 

And Unknown Format on Android

Its show correctly when editing
screenshot attached

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 14 May 2019, 03:04 PM
Hello Muhammed,

Thank you for the provided images.

Basically, the issue is present in Android and UWP when some languages are used (Chinese, Thai, Arabic, etc) and not in iOS because the first two platforms we are using SkiaSharp to render the elements within the RadDataGrid. In iOS, on the other hand, we are creating native UILabels.

We have an issue logged in our Feedback portal and here is the link:

https://feedback.telerik.com/xamarin/1366163-datagrid-android-uwp-some-languages-are-not-properly-rendered-by-skiasharp-elements

Workaround:

You could use a DataGridTemplateColumn instead of a TextColumn, for example:

<telerikDataGrid:DataGridTemplateColumn CanUserEdit="True" HeaderText="Capital">
    <telerikDataGrid:DataGridTemplateColumn.CellContentTemplate>
        <DataTemplate>
            <Label Text="{Binding Capital}"/>
        </DataTemplate>
    </telerikDataGrid:DataGridTemplateColumn.CellContentTemplate>
</telerikDataGrid:DataGridTemplateColumn>

Also keep in mind that TemplateColumn does not support editing, as we're not aware of the content shown in it.

Please check the attached sample how the workaround is implemented.

I hope I was helpful.

Regards,
Didi
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
Muhammed
Top achievements
Rank 1
Answers by
Didi
Telerik team
Share this question
or