Bug Report T319892
Visible to All Users

The Grid control hangs when it tries to set selection to another grid cell after a validation error

created 9 years ago

Hi,

I think it hangs up on the call to DevExpress.Xpf.Grid.Native.DataViewBehavior.IterateCells(). Inside it, startIndex will be set to GridControl.NewItemRowPosition and the endIndex will be set to either 0 or some positive integer. I have attached a sample project.

Replication steps:

  1. Add a new invalid row by specifying a value (integer) only on the "Number" column.
  2. Commit the new row changes by selecting any commited row.
  3. While the new row still has errors, quickly click between two cells of a commited row. (e.g. Click Row1 Cell1, Click Row1 Cell2, Click Row1 Cell1, Click Row1 Cell2, Click Row1 Cell1, Click Row1 Cell2 …)
Comments (3)
DevExpress Support Team 9 years ago

    Hello Earljon,

    Thank you for providing the test project. I was able to replicate the problem on our side. I will forward this ticket to our R&D team, and we will contact you as soon as we get any results.

    Thanks,
    Elliot

    EH EH
    Earljon Hidalgo 1 9 years ago

      Hi Elliot,
      For the moment, are there any workarounds for this issue? We really need to provide a fix as soon as possible.
      Thanks,

      DevExpress Support Team 9 years ago

        Hello Earljon,

        Our developers are working hard to find the cause of this problem. However, I cannot provide you with an exact date when this issue will be resolved. You will receive an e-mail when the status of this issue is changed. As an immediate workaround, you can set the GridControl.SelectionMode property to the SelectionMode.Row value.

        Thanks,
        Elliot

        Answers approved by DevExpress Support

        created 9 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.