IgniteUI / igniteui-angular-samples

Ignite UI for Angular demos for all available components and features
https://bit.ly/2L19rhp
37 stars 25 forks source link

[Multi-select Hierarchical Drop Down]: tree grid sample does not work on row selection #3381

Closed RivaIvanova closed 1 year ago

RivaIvanova commented 1 year ago

Description

Due to the following breaking change here:

rowSelectionChanging event arguments are changed. Now the oldSelection, newSelection, added and removed collections no longer consist of the row keys of the selected elements when the grid has set a primaryKey, but now in any case the row data is emitted.

The IgxTreeGrid demo here does not work as expected when selecting rows. Also, when opening the sample in StackBlitz an error is thrown due to a missing IgxIconModule.

Steps to reproduce

  1. Open the demo and select a row.

Result

The chips' values are blank. Removing a single chip removes all chips, and the rows remain selected.

Expected result

The chips' values should be reflected properly. Removing a single chip should deselect the respective row.

Attachments

multi select dropdown