關鍵代碼:
var hd ?= Ext.getCmp("interviewSubscriptionGrid").getEl().select('div.x-grid3-hd-checker').first();
if (hd.hasClass('x-grid3-hd-checker-on')) { ?
? ? ? ? ?hd.removeClass('x-grid3-hd-checker-on'); ?
} ?
轉自:ExtJs CheckboxSelectionModel 全選操作后 清空表格頭的checkBox