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
javierjiesjavierjies 

Checkboxes in columns

Hello again!!

 

I have a VF Page where I show columns, something like this;

 

             <apex:column headervalue="Pool">{!item.Pool__c}</apex:column>
             <apex:column headervalue="Garage">{!item.Garage__c}</apex:column>
             <apex:column headervalue="Good Neighborhood">{!item.Neighborhood__c}</apex:column>

 

But It shows true or false. I want to see V if It's true, or X if It's false....

 

 

Any idea???

 

Thanks!!!!

Best Answer chosen by Admin (Salesforce Developers) 
wesnoltewesnolte

Hey

 

I'm not sure what's showing true or false but you can do the following:

 

 <apex:column headervalue="Pool">{!IF(item.Bool__c,'V','X')}</apex:column>

 

Cheers,

Wes