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
Parteek Kumar 5Parteek Kumar 5 

How to use input text box in pageblocktable in visualforce page

Hi All,

I have a visualforce page which showing some contact records in pageblocktable. I have four column in pageblocktable like name, phone, Email, LeadSource. Now i want to add input text box on each column for add search functionality on each column. I am not getting how to achieve this.

User-added image

Please help me...
Thanks,
Parteek
Martijn SchwarzerMartijn Schwarzer
Hi Parteek,

Can you please post your code (vf page & apex controller)? That will make it much easier to help you.

In the meantime you may want to check out the SOSL (Salesforce Object Search Language) functionality:

https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_sosl_about.htm

Happy coding!

Regards,
Martijn Schwärzer