+ Start a Discussion

how to wrap text in a column of a page block table??



i have a pageblock table  which has columns


one of the column has data coming from field whose data type is text(256)


i have fixed the width of the column as

<apex:column width="30%" >


but when i write a long text value in the field.........the column width goes beyond 30%


so i want to wrap the text to second line when the width is 30% so that it cannot go beyond 30%


please provide me way of doing it !!!!!!


Hi , 


Please try if this works, 

<apex:column >
 <apex:facet name="header">Select<br/> Checkbox</apex:facet>
 <apex:inputCheckbox value="{!Tabl.chk}"></apex:inputCheckbox>