You need to sign in to do that
Don't have an account?
srikanth n
how to add image in pageblock table and can we perform action on onclick image...any plz help me out..thx in advance frds
how to add image in pageblock table and can we perform action on onclick image...any plz help me out..thx in advance frds.
<pre>
<apex:column>
<a href="#"><img src="http://google.com" height="10" width="10"</img></a>
</apex:column>
</pre>
That lets you more easily tie it in with rerenders and the like if you want the image to change after clicking. Other than that it's as logontokartik said:
<apex:column>
<apex:image value="IMGURL" id="someImage" onclick="someJavaScript" />
</apex:column>