I am using remote sort in a datagrid. On sorting a column, the fieldname is sent as value for the request parameter 'sort'.
Is there a possiblitly to change the value for sort parameter before sending the request? For e.g. in onBeforeColumnSort event?
The following didn't work:
onBeforeSortColumn: function(sort, order) {
if(sort == 'solutionComponentName') {
$(this).datagrid('options').sortName = 'solutionComponent';
}
}
The request on the remote server is still made as sort=solutionComponentName.