I have successfully implemented RowGroup to store 3 different tables, which is working great. However, I am facing an issue with the onRowSelect function not functioning properly. When I click on any row of the RowGroup tables, nothing happens.
On another note, I have a separate table named "MY TABLE" which, when you click on a row, displays a pop-up with the relevant row information. This is the exact functionality I want for my RowGroup tables but I am unable to get it to work.
Check out my code here: PLUNKER
<p-dataTable [value]="data" sortField="room" rowGroupMode="subheader" groupField="room" expandableRowGroups="true"
[sortableRowGroup]="false" [expandedRowsGroups]="expandedGroups">
<ng-template pTemplate="rowgroupheader" let-rowData>{{rowData.room}} - INFO</ng-template>
<p-column field="status" header="ID"></p-column>
<p-column field="name" header="Title"></p-column>
</p-dataTable>