Datatables - highlight selected row

Solution 1:

Check the demo here.

Add this after the table call:

$("#products tbody tr").on('click',function(event) {
    $("#products tbody tr").removeClass('row_selected');        
    $(this).addClass('row_selected');
});