Bug Report T606935
Visible to All Users

DataGrid - Header cells are sometimes misaligned with grid content if horizontal scrolling is enabled on 200 dpi screens

created 7 years ago

We sometimes experience the data grid header position being slightly out of sync with the grid contents.  Usually the difference is approximately the width of the scrollbar.  We have seen the issue in both directions- off to the left or right.  We have also seen it on both IE11 and Chrome.  Using Chrome with this example: https://codepen.io/JustinHuffman/pen/gvXPNG?editors=0010
if you scroll all the way to the right, the alignment is off.  Please see the attached screen capture.

Again, we see this in other cases as well, but those may be much more difficult to recreate.   Can this be resolved in the next release?

Thanks,
Justin

Show previous comments (5)
JH JH
Justin Huffman 7 years ago

    Hi Alex,
    Thanks for catching that.  Unfortunately it doesn't resolve the issue, I still see the same behavior.  When I drag the horizontal scrollbar all the way to the right the column headers become misaligned by about the width of the scrollbar.  Attached is a screen shot.
    Thanks,
    Justin

    Artem (DevExpress Support) 7 years ago

      Hi Justin,

      Thank you for the clarification. We need additional time to perform different tests. Please bear with us.

      Artem (DevExpress Support) 7 years ago

        Thank you for your patience. The problem occurs because DataGrid always displays an unnecessary vertical scrollbar on 200 dpi screens. As a result, column headers are not synchronized with a table that renders rows.
        I forwarded this scenario to our R&D team for further research. Please bear with us.

        Answers approved by DevExpress Support

        created 7 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          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.