PDA

View Full Version : [CLOSED] How to set image command icon dynamically based on condition in Grid Panel ?



Prasoon
Feb 20, 2015, 7:45 AM
How to set image command icon dynamically based on condition in Grid Panel

Below is the requiremnet

http://forums.ext.net/attachment.php?attachmentid=21661&stc=1

Dimitris
Feb 20, 2015, 9:36 AM
Hello,

I suggest you take a look at the Prepare Commands (http://examples2.ext.net/#/GridPanel/Commands/Prepare_Commands/) examples in the Examples Explorer. In the example, command icons depend on the value of a column (e.g. "price"). Icons are set using the iconCls property.

Hope it helps.