How to serialize updated DataView

Hello,

May I ask if it is possible to serialize the updated content of a dataView (let’s say for example, after a ‘drag and drop’ action). Currently, I’m getting the original order of content when I invoke serialize() method even if I changed the order through DnD. Thanks in advance!

You can use a code like next

[code]var data = dview.data.order;
var json = [];

for (var i=0; i<data.length; i++) json.push( dview.get(data[i]) );[/code]

Hello,

Thank you for the quick feedback. I’m now able to get the updated order of the data view!