Displaying an icon for picklist

Thanks for the quick reply. I was able to make this work for a table but what changes to the code do I need to make for it work in a Panel set?