Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
DataRow.RowState not updated after setting UltraGridCell.Value
posted

Hello,

We recently went through two upgrades. The first was upgrading from .NET Framework 4.7.2 / Infragistics 18.2 to .NET 6 / Infragistics 22.1, and the second was upgrading from Infragistics 22.1 to 23.1.111.

I'm not sure at which point this behavior changed, but we used to be able to set UltraGridCell.Value and the corresponding bound DataRow.RowState would change from Unchanged to Modified. Now when we set UltraGridCell.Value, we see the DataRow.Item value change as expected but the RowState remains Unchanged.

I've attached a sample project that demonstrates this discrepancy. As a workaround we're trying to change our code to set the DataRow.Item value directly but it's difficult to find everywhere that needs to be changed.

Any suggestions would be appreciated.

GridCellValueToRowStateBug.zip

Parents
  • 29105
    Verified Answer
    Offline posted

    Hello and thank you for contacting Infragistics. I created a .NET framework 4.7.2 vb sample using Infragistics 18.2.130 and I see the same behavior as in your attached sample. I am not aware of any changes in this area of the API as I did a search in our system and found no changes in the last 10 years. Please modify my sample to replicate the desired behavior so I may compare this with your test application.

     8507.WindowsApp1.zip

Reply Children