+ 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