+ Start a Discussion
Neha LundNeha Lund 

header or first row of the page block table coloured in VF page ?

Can we achieve this in VF page ?        

Avidev9Avidev9

You can use the headerClass attribute in pageBlock table

 

Define a style class in your page.

<style>
.ui-state-active{

border: 1px solid #fbd850;
	background: #ffffff;
	font-weight: bold;
	color: #eb8f00;

}
<style>

 

And can do something like this 

 

<apex:pageBlockTable headerClass="ui-state-active">