的頭部添加複選框,我有一個編程創建dojox.grid.DataGrid
我想在列「選擇」的標題添加一個複選框,其結構是在編程創建的DIV
var nodeSelectGridStructure = [
{
"field": "select",
"width": "10%",
"name": "Select"
},
{
"field": "fldJobName",
"width": "30%",
"name": "Collection Job Name"
},
{
"field": "fldNodes",
"width": "60%",
"name": "Nodes"
}
];
。有沒有辦法獲得「選擇」列標題的DOM節點,以便我可以在那裏添加複選框? 在此先感謝!