<apex:panelGrid columns="4" width="100%" columnClasses="random" >
<apex:repeat value="{!ProcessCellValuesWithoutName}" var="strCellValue">
<apex:outputLabel rendered="{!(!strCellValue.renderLink)}">{!strCellValue.recValues}</apex:outputLabel>
<apex:outputLabel rendered="{!(!strCellValue.renderLink)}"> </apex:outputLabel>
</apex:repeat>
</apex:panelGrid>
I have tried adding style class to outputlabel and use the css properties like word-break:break-word/break-all
, but that does not seem to wrap the column text when its too long to the next line and maintain the table width.