How to display images in af:Table Header

Requirement – Display images/icons in table header.

Solution – Sample code below,

<af:column  displayIndex="1" id="c89">
                  <f:facet name="header">
                    <af:goLink destination="http://www.google.com" id="gl3">
                      <af:outputText value="Goto Google  " id="ot89"/>
                      <af:image shortDesc="http://www.google.com"
                        source="/images/guy.gif" id="i18"/>
                    </af:goLink>
                  </f:facet>
</af:column>

Screen shot –

columnwithimg

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s