Autofill doesn't work for dataMap.
It works if at least one of the dependent column is converted to formula.
{ title: "Name", dataIndx: "name",
formula: function(ui){
var rd = ui.rowData,
id = ui.rowData.id;
if(id){
var item = itemlist.find(function(item){
return item.id==id
});
rd.deliverytime = item.deliverytime;
rd.unitprice = item.unitprice;
return item.name;
}
}
},
As a side note, converting one column to formula field ( as in code above ) is more performant than converting all dependent columns.