$('#dg').datagrid({ onBeforeLoad: function(param){ if (param.sort == 'Name'){ param.sort = 'otherField'; } }})