Monday, May 4, 2015

Align the column header and components in the column to "center" in af:table ADF

Column Header:

Add the tag align="center" 

Component in Column Header:

Add the tag inlineStyle="text-align:center;"

Example:

<table>
<af:column id="c23" align="center" headerText="Column Header" width="7%" inlineStyle="text-align:center;">
</table>

3 comments:

Anonymous said...
This comment has been removed by the author.
Anonymous said...

Hi Vijay,

align="center" seems not working.

Kumar said...

it is very good and also useful..how to do center in adf table ..pls suggest me ..i want table in center only ..how to change alignments..