Igniteui-angular: Grid transactions undo does not restore original cell value

Created on 12 Sep 2019  路  4Comments  路  Source: IgniteUI/igniteui-angular

Grid transactions undo does not restore original cell value

  • igniteui-angular version: 8.2.0-beta.4

Steps to reproduce

  1. Run the sample
  2. Edit the Capacity field twice
  3. Click the undo button
  4. Click the undo button again

Result

The value restored in the cell is the value that the user has entered first

Expected result

The value restored to be the original cell value.

Attachments

grid-excel1.zip

bug cell-editing general resolved transaction 8.1.x 8.2.x

Most helpful comment

Can you please confirm which release this fix is in?

It will be included in next version, please monitor https://github.com/IgniteUI/igniteui-angular/releases. There should be next release within a week.

All 4 comments

The issue is important as the data represented in the grid should mirror/align with the data stored in the backend. This issue allows the data displayed in the grid to be out of sync. In our case, multiple fields are updated if the user edits a column that is an operand to a calculated field's formula. We rely on updateRow() to track the multi-field edit as a single transaction. It is critical that our users see the data based on their last edit when commit() is called, not the second to last (n-1) edit.

@GibletJr , I agree on the importance of the issue. It is scheduled for the next Sprint run.

Can you please confirm which release this fix is in?

Can you please confirm which release this fix is in?

It will be included in next version, please monitor https://github.com/IgniteUI/igniteui-angular/releases. There should be next release within a week.

Was this page helpful?
0 / 5 - 0 ratings