How to get updated/inserted/deleted rows in datatable?

I am working on an editable datatable and do not want to use the implicit save property.

Is there any way to create a list of updated/inserted/deleted rows for a datatable? I came across dataprocessor while searching on this topic…

Can you please let me know how to get a list of the modified elements in a datatable? An example would be really helpful.

Thanks.

The simplest strategy will be to assign handler to onStoreUpdated event and store all changes

http://docs.webix.com/api__treestore_onstoreupdated_event.html

table.data.attachEvent("onStoreUpdated", function(id, data, operation){
    //store in list of changes
})

A bit more complicated would be to use a dataprocessor

{
    id:"dt", view:"datatable", save:{
        autoupdate:false,
        url:{
           $proxy:true,
            saveAll:function(view, data, callback){
                 console.log(data);
            }
        }
    }
}

and later you can use webix.dp($$("dt")).send(); to fire saveAll handler in the view’s config and receive all changes.

Perfect, thank you so much Maksim!