1
在我的jsp中,有一個名爲CheckColumn的EXTJS組件。就像這樣:在EXTJS中禁用「全選」功能CheckColumn
var primaryFundingAccountColumn = new Ext.grid.CheckColumn({
header: '<spring:message javaScriptEscape="true" code="label.account.primary"/>',
dataIndex: 'index',
width: 50,
fixed : true,
menuDisabled : true,
align: 'center',
headerId: 'header1'
});
現在,當這個被添加到網格,在列的頂部,有一個基本上有「全選」功能的複選框。在我的專欄中,我不想提供全選特徵。有沒有辦法禁用它?我嘗試刪除headerId
屬性,我認爲會從頭中刪除複選框。但那並不奏效。
非常感謝。你爲我節省了很多時間。非常感謝您的幫助,先生。 – Victor 2012-02-27 21:06:22