Только что попробовал с 1.4.3, кажется, тот же код работает для меня:
dojo.addOnLoad(function(){
var grid = new dojox.grid.EnhancedGrid({
id:'grid',
canSort: function(colIndex) {
if ((colIndex == 0) || (colIndex == 1)) {
return false;
}
return true;
},
onHeaderCellMouseOver:function(event)onGridHeaderCellMouseOver(event,layout[0]);},
onHeaderCellMouseOut: function(event)onGridHeaderCellMouseOut(event,layout[0]);},
store: csvStore1,
structure: layout,
plugins : {nestedSorting: true}
}, document.createElement("div"));
dojo.byId("gridDiv").appendChild(grid.domNode);
grid.startup();
grid.setSortInfo(-1); });
он поврежден в вашем onHeaderCellMouseOver: function (event {, но не думаю, что причина в том, чтоодиночная сортировка работает для вас.
Кстати, установка вложенного порядка сортировки по умолчанию с помощью grid.setSortInfo (-1) не поддерживается в 1.4 (в планах для 1.6)