IgniteUI / igniteui-angular

Ignite UI for Angular is a complete library of Angular-native, Material-based Angular UI components with the fastest grids and charts, Pivot Grid, Dock Manager, Hierarchical Grid, and more.
https://www.infragistics.com/products/ignite-ui-angular
Other
569 stars 162 forks source link

IgxGrid don't generate row id after data has been updated (IgxGrid infinite scroll). #10371

Closed PhuQuy closed 2 years ago

PhuQuy commented 2 years ago

Description

After the data changed, the event for cellClick is not contain row/rowid

Steps to reproduce

  1. Step 1 create an igx-grid with custom infinite scroll
  2. Step 2 Add an event for cellClick with console.log(event.cell)
  3. Step 3 Scroll the table to page 2

Result

What is the actual result after following the steps to reproduce? After init, the console log the cell with row After scroll to page 2, console log the cell without the row

Expected result

What is the expected result after following the steps to reproduce? After scroll to page 2, console log the cell should has the row as IgxGridRow

Attachments

Attach a sample if available, and screenshots, if applicable.
Please check my url: https://github-jmyttw.stackblitz.io/

3phase commented 2 years ago

@PhuQuy,

Thanks for noting! I tested your scenario and it looks like a bug in that particular version (I noticed that igniteu-angular@12.1.6 is used in the Stackblitz sample you provided). However, the issue does not seem to replicate in the later versions of the product, so my suggestion is that you update your igniteui-angular version to either the latest supported 12.x version, which is 12.3 at that time, or make a major version update to 13.0.

To see our product versioning policy, refer to the following document.