This repository was archived by the owner on Dec 25, 2021. It is now read-only.

Description
What is the best way to subscribe to event when the row is selected?
I need to change the row color when the row is selected no matter where the user click
the following is for one column/cell, but i need to change the row color always the user click in a row.
<data-table-column
header="Actions">
<ng-template #dataTableHeader let-item="item">
<i>Actions</i>
</ng-template>
<ng-template #dataTableCell let-item="item">
<button (click)="carClicked(item)" class="btn btn-sm btn-default">Buy</button>
</ng-template>
</data-table-column>
Can it be done?
Thanks