Have problem with negative sign in grid with right-to-left =true
the negative numeric values are displayed like:
I use decimal Column
3 Answers, 1 is accepted
answered on 18 Jun 2019, 02:04 PM
Right-to-left mode is used for certain languages such as Arabic, where people read and write starting from the right side of the page. So having the minus sign appear to the right in the RadGridView is natural.
However, you want to set the alignment of the text from left to right in GridViewDecimalColumn with negative numbers. In this case, you can subscribe to the CellFormatting event and set RightToLeft property to false. Please refer to the following code snippet which demonstrates how to achieve the illustrated result: