How to Serialize (save) File order in Folder Thumbnail view

Hi how do I save the order of files in the dhtmlxFolder object after drag and drop.


There is no public API, but you can get such data as

var order = folders._orderCol[0];
for (var i=0; i<order.length; i++) alert(order[i] );

The ID stored in the same order as elements in folders.

his Works well thanks.

dhtmlxolders.prototype.getItemOrder = function(){

var outArray = new Array();

for (var i=0; i<this._orderCol.length; i++){

outArray[outArray.length] = this._orderCol[i]


 return outArray;