Hello,
I am having trouble trying to use a custom icon in a button inside a toolbar. In the API documentation it's noted as posible but I can't find a way to make it work.
the ítem I'm inserting in the toolbar is the following:
addItemToolbar(loGridOpciones['toolbar'],'export','button','<bean:message key="CTAS.BTN_EXPORT_EXCEL" />',[{click:exportCuentas}],{'icon':'<html:rewrite page="/img/'customImage.gif'"/>',attr:'title="Export this to excel"'});
But i've only managed to get it to default to a JQueryUI icon (^ this one).
Can someone give me some advice in what am I doing wrong?
Thanks in advance!