I am using ngx-datable to render a table with row grouping.
I am trying grouping of row dynamically.
<ngx-datatable
[groupExpansionDefault]="false" [groupRowsBy]="groupBy">
Initial value of groupBy
is suppose "A";
Based on some event I change groupBy
to "B".
The datatable itself is not updating the records. And when I click on header row it then updates the records. Rather it should automatically update the table records with new grouping.
Is there any solution for this or may be any way to simulate the click I mean manually expanding/collapsing the header row?