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
572 stars 161 forks source link

IgxHierarchicalGrid - Checkbox ‘checked’ state is rest when a row is expanded. #9781

Closed mkamiishi closed 3 years ago

mkamiishi commented 3 years ago

Description

Checkbox ‘checked’ state is rest when a row is expanded. This happens after reloading the data source.

Steps to reproduce

  1. Run the attached sample igxHGrid.zip.
  2. Click ‘LOAD’ button.
  3. Expand the second row.
  4. Click ‘RELOAD’ button.
  5. Expand the second row.
  6. Check any checkbox on the child grid.
  7. Expand the parent grid’s first row .

Result

Checkbox is unchecked.

Expected result

Checkbox is unchanged.

Attachments

Attach a sample if available, and screenshots, if applicable.

igxHGrid.zip

mddragnev commented 3 years ago

Hello @mkamiishi, A workaround for your specific scenario is to set a primary key to the root grid, please make sure that it has a unique value. I will continue to investigate the issue.

mkamiishi commented 3 years ago

Hi @mddragnev , I have verified that setting a primary key to the root grid resolves the issue. Thank you.