| Author |
highlight first row in datatable onload
|
Aparna Ram
Ranch Hand
Joined: Jan 27, 2006
Posts: 59
|
|
Hi, I would like to highlight the first row in my datatable, onloading of the page. How do I go about doing the same? Thanks much.
|
 |
A. Dusi
Ranch Hand
Joined: Sep 27, 2004
Posts: 114
|
|
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. Hope this helps.
|
 |
 |
|
|
subject: highlight first row in datatable onload
|
|
|