Bug Report T848870
Visible to All Users

DataGrid - Horizontal scrolling starts from the left when RTL is enabled and a data source is set asynchronously

created 6 years ago (modified 6 years ago)

Issue: Horizontal scrolling starts from the left when RTL is enabled and a data source is set asynchronously.

Demo:  CodeSandBox

Steps to reproduce:

  1. Open the CodeSandBox project I attached.

  2. See the initial position of a horizontal scrollbar after the data source is set.

Actual Behavior:
Horizontal scrolling starts from the left.

Expected Behavior:
Horizontal scrolling starts from the right because RTL is enabled.

Comments (1)
DevExpress Support Team 6 years ago

    We are researching ways to fix the issue. As a workaround, it is possible to update the scrollbar position in the onContentReady event handler as shown in this CodeSandBox project.

    Answers approved by DevExpress Support

    created 6 years ago

    We researched this issue and concluded that currently, we can't fix it as this will affect column resizing and other functionality and will introduce severe breaking changes. We will keep in mind the scenario from this ticket when improving the dxDataGrid scrolling functionality in the future. At the moment, we recommend using the workaround given above - see this CodeSandBox project.

      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.