I would like to highlight the first row in my datatable, onloading of the page. How do I go about doing the same?
posted 10 years ago
Since you are using t:datatable you can try using rowIndexVar attribute in your datatable attributes. Check if your rowIndexVar == 0 for each row and specify your styleClass accordingly. If you are looking to highlight the headers then use headerClass atrribute.