grid send order to dataprocessor

Is there anyway we can get the grid to send the order of the rows by the specified ID to the data processor?



Similar to how the treegrid .getChecked() function works? It would send in the _GET request a comma delimited list of the current rows in order.



Example:

$_GET[‘gr’] = 1,2,4,6,8,5



Where we now know the order of all rows for the current update and can process on the server.



There is no such built in functionality, but you can update dataprocessor in necessary way.

dhtmlxdataprocessor.js, _getRowData method ( line 412 )

var str=pref+“gr_id=”+this.escape(rowId);
//next code may be added
var order=[];
for (var i=0; i<this.obj.getRowsNum(); i++)
    order.push(this.obj.getRowId(i));
 str+="&order="+this.escape(order.join(","));

Was this added to the latest version?

Such functionality was not added to the dataprocessor logic.
Row indexes are very flexible, change in single row may affect indexes of all other rows, as well as sorting, filtering , grouping and others.