Dojo 间接选择句柄检查

Dojo indirectselection handle check

如何处理 dojo 间接选择的检查事件:

var table = new dojox.grid.EnhancedGrid({
    store: catalogLayout,
    structure: layout,
    id: "poolGrid",
    styles: "text-align: center",
    plugins: {indirectSelection: true}
}, document.createElement("div"));

这是我在 html 上呈现的增强网格:

<div id="contentNode" style="height:90%;width:100%"></div>

请参阅 documentation 的用法部分。你的情况

dojo.connect(table.selection, 'onSelected'|'onDeselected', function(rowIndex){...})
// when Select All checkbox is changed
dojo.connect(table.rowSelectCell, 'toggleAllSelection', function(newValue){...})