enterprise-ng icon indicating copy to clipboard operation
enterprise-ng copied to clipboard

Soho-datagrid Summary Data not updating properly

Open SudarshanDivakarla opened this issue 1 year ago • 0 comments

Describe the bug Case 1:

But in the latest IDS-NG (v17.5.9) when the cell is changed and by the time the Api call is complete the summary value is shown as undefined and once the Api is success, then the summary value is updating correctly. Not able to find where the value is getting undefined. Also, when the same cell with same value is changed, then the summary value is updating to undefined. Please find the below attached recording for more information.

Case 2:

Also, in the latest IDS-NG (v17.5.9) made a particular cell change for the summary column, the summary data is changed properly with summary text, but when I change the same cell with the same value then the summary text in summary data is removed.

Example for Case 2:

I have changed a particular cell with value 1, the summary data is 1 with some summary text as EUR i.e. 1.00 EUR, now when I change the same cell with same value i.e. 1 the summary text in summary data is removed and now the summary data is 1 only but it should be 1.00 EUR.

To Reproduce

Steps to reproduce the Case 1 issue behavior:

  1. Change a particular cell of the summary column.
  2. API triggers
  3. In summary cell the value is undefined until the Api success

Steps to reproduce the Case 2 issue behavior:

  1. Change a particular cell with value 1, the summary data is 1 with some summary text as EUR.
  2. Change the same cell with same value i.e. 1
  3. summary text in summary data is removed

Expected behavior Expected behavior for Case 1: summary cell value should not be undefined. Expected behavior for Case 2: summary text should not be removed after second change.

Version

  • ids-enterprise-ng: v17.5.9

Additional context

Please find the stack blitz for more information on Case 2 issue:

https://stackblitz.com/edit/ids-quick-start-1759-6uw5ki?file=src%2Fapp%2Fapp.component.html

Please find the attached screen recording for more information on Case 1 issue:

https://github.com/infor-design/enterprise-ng/assets/94103218/692d8860-3ca9-4175-8519-f3e6bdceeadf

SudarshanDivakarla avatar Mar 19 '24 13:03 SudarshanDivakarla