function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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">