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
SF Buzz VutukuriSF Buzz Vutukuri 

Apex:facet

 <apex:facet name="header">Name : <apex:inputText value="{!SearchName}" title="Enter Name"  html-placeholder="Enter Name to search..."  /></apex:facet>

Here I'm not abel to display both "Name :" and "input textbox" can any one please help me..

i tried to keep label attribute in <apex:inputtext> but still it is not working

PratikPratik (Salesforce Developers) 
Hi,

Try this:


<apex:form >
 
 <apex:facet name="header">  </apex:facet>
 <apex:outputText> Name: </apex:outputText>
 <apex:inputText value="{!SearchName}" title="Enter Name"  html-placeholder="Enter Name to search..."  />
 
 
 </apex:form>



Thanks,
Pratik

P.S. If this answers you question, please mark it as "Best Answer" so it will help other community members too.
 
SF Buzz VutukuriSF Buzz Vutukuri

Hey partrik, I want to display that in header field..........

I want name and textbox in columun header in pageblock tabel