{
//title: "Product ID",
//title using callback.
title: function( ui ){
return "Product ID from callback";
},
dataType: "integer", dataIndx: "ProductID", editable: false, width: 80
},
where ui is plain object having properties column and colIndx
context "this" of the callback is grid instance.