I have a grid in http://jsfiddle.net/Xhp8N/
I want when i click to first header then icon header will change mutual bettween
image a
and image b
here is my code
{ text: '<img src = "http://pic.dhe.ibm.com/infocenter/tivihelp/v15r1/topic/com.ibm.itm.doc_6.2.1/images/icon_checkbox.gif"/>', dataIndex: 'name'
,listeners: {
headerclick: function(ct, header, e, t) {
header.setText('<img src="http://gentlerainmarketing.com/images/icon_checkbox.gif"/>');
}
}
}
but my code only change one time, How to do that thanks