Hi,
How to I set a column to display text right to left as I have a column that has Arabic text. (It is currently displaying the last letter of the text as the first letter. However if I were able to set righttoleft = true for that column, it would display correctly.)
I have set the grid property rightoleft as true, but this has no effect on the column in question.
I set the style of the column as FormattedText, unless there is some way to set the Formatted Text as righttoleft = true --- it does not display correctly.
If I set the style of the column to FormattedTextEditor - the words are all ordered incorrectly. If have to find some way to set the leftoright=true and the TextSectionBreakMode = OnlyWhenNecessary.
I forsee myselft having to use the FormattedTextEditor at some point as text will need to display in colour.
Hope someone can assist me with this.
Ahmed
Hi Ahmed,
There is currently no support for RightToLeft in the Infragistics WinForms controls.
The RightToLeft property that you see on the grid and the FormattedTextEditor control are properties on Control, so they are automatically inherited by every control. But the DotNet framework doesn't really provide any support for this, so the Infragistics controls do not support it at this time.
I find this strange as most of the "standard" VS2010 (and even earlier versions) have support for Right to Left (and Unicode).
In fact the DataGrid that ships with VS2010 displays the text perfectly. The only downside is that it is not as polished as the Infragistics Grid control.
Any chance we will see support in the future.
As a workaround --- Is there any way to keep the entrire column in edit mode all the time? If this is possible, I can get the text to display correctly.
Many thanks.