Bug Report T837344
Visible to All Users

DataGrid - Column resizing works incorrectly if rtlEnabled is set to true

created 5 years ago

on RTL grid, with columnResizingMode=Widget, then dragging the resize splitter to the right, the rightmost column goes off the screen
on RTL, the behaviour should be opposite - the rightmost column should become smaller, and the leftmost larger

Pls see below
https://codesandbox.io/s/column-resizing-devextreme-data-grid-ndkhx

Comments (1)
DevExpress Support Team 5 years ago

    Hello Mike,

    Thank you for the details and the demo link.

    I have managed to replicate the behavior you described and have forwarded this to our developers for further investigation. Please bear with us while we wait for the result.

    If you have further concerns, please let me know.

    Answers approved by DevExpress Support

    created 5 years ago (modified 5 years ago)

    We have addressed the issue described in this ticket and will include a fix in our next maintenance update. To apply this solution before official release, request a hotfix by clicking the appropriate version link.

    Note: Hotfixes may be unavailable for betas/updates set for release within a week.

    Additional information:

    After the fix, it is necessary to have the container for the grid with the enabled rtl mode. In this case, resizing will work correctly.

      created 5 years ago

      Hi Mike,

      Thank you for your patience.

      The column resizing behavior works incorrectly because the direction of the dataGrid's parent container is not set to RTL. We have modified your demo illustrating the left columns adjusting when the dir attribute of the dataGrid's container set to RTL.

      If this is the behavior you are expecting for, please let us know.

        Show previous comments (12)

          Any news on the original issue?

          DevExpress Support Team 5 years ago

            Hi Mike,

            At the moment, we are still looking for the cause of the issue. This issue is quite complex and requires thorough research. We will let you know once we have updates.

            Artem (DevExpress Support) 5 years ago

              Hi Mike,

              After further research we found that the issue with window resizing and the scrollbar position is not related the original one.

              We continue working on it in the context of the DataGrid - Scrollbar position is incorrect after resizing the browser window if rtlEnabled is true thread.

              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.