Hi,

I need to have "icon" buttons. My code is following:
var btn = new Ext.Button( {
cls: "product-button-class",
text: repository[i].productName,
icon: repository[i].productIconUrl,
iconAlign: 'top',
width: 80,
height:60


});
if (i%5 == 0) {
rowPanel =createRowPanel();
myPanel.add(rowPanel);

}
rowPanel.add(btn);

I found that icon property does not take effect and my server is not contacted to pull an icon.

Do I have to specify iconClass or anything else ?

Thanks,

--eugene