Ticket Q476847
Visible to All Users

RTL Support for Devexpress Winform Gridview

created 12 years ago

Hi,

Please provide a solution on Devexpress Winform gridview. The problem I am facing is Devexpress Winform gridview does not support RTL(Right to Left) languages. Is there any solution that can help me with this. I have spent a chunk of my savings to buy this product and then find out that what I intend to do is not available. Please provide a solution asap.

Regards,

R S Prasad

Show previous comments (2)
B B
Brendon Muck [DevExpress MVP] 12 years ago

    DevExpress WinForms controls do not support right-to-left. I would advise you to instead use the WPF or Silverlight controls, which both support right-to-left. You may be able to find a solution by mirroring a control using the methods described at http://msdn.microsoft.com/en-us/library/xwbz5ws0%28v=vs.71%29.aspx, but I'm not sure this would be a true right-to-left solution.
    See also: http://www.devexpress.com/Support/Center/p/A585.aspx

      This is painful to hear. I am developing a ERP solution and the code for LTR is completed. To design RTL, if I have to switch to silverlight or WPF i would have to redo my entire code. I am already 28 days behind schedule. Switching to alternate will push my schedule months behind. Who will compensate for the time and monetary loss? This is a shame that you do not support such a basic need. Most of my clients are from the middle east. I've spent $2200 for this software and now you are asking me to use WPF or Silverlight! Is this the way you are going to treat your customers? Such a shame!
      Are you ever going to release an update to support RTL any time soon?

      B B
      Brendon Muck [DevExpress MVP] 12 years ago

        I do not work for DevExpress. I am a customer, just like you. It is pretty well documented that almost all of the WinForms controls do not support right-to-left, and probably never will. It is not something than can be easily achieved, due to the structure of the code and the painting mechanisms used to support skinning.

        Answers approved by DevExpress Support

        created 10 years ago

        Hi,

        In version 15.1 of our components, we introduced the Right To Left layout support for our controls. Take a look at Right-To-Left layout support for more information.

          created 12 years ago (modified 12 years ago)

          Hi,
          While we decided against implementing such a feature this time, I can suggest an alternative way of achieving the result you require.

          1. The alignment of column headers can be changed by using the GridColumn.AppearanceHeader property.
          2. You can handle the GridView.CustomDrawCell event and manually draw text aligned to the right. This event handler allows drawing only static text displayed in the GridView.
            When you select a GridView cell, an appropriate editor is activated, which doesn't support the RTL feature at the moment.
            Meanwhile, please test the attached project that demonstrates the provided approach and send us additional information about your scenario. In particular, what kind of editors you are using and if you want to implement the RTL feature in the editors?
            We will do our best to help you ASAP.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.