• autoSave


    Auto saving grid changes.

    If disable this property than requires:

    1 - to save changes over method;.

    2 - determine how changes should be saved - batched or on every change to send request.
    To determine batching use property data.proxy.batch by default it is true.
    It will first send create commands than update and than delete.

    3 - It would be good to config methods of sending for each command or to use RESTful.
    When changes are batched FancyGrid try to send changes as JSON in Request PayLoad.
    One change will be sent as object - {id: 5, age: 10}
    Several changes will be sent as array [ {id: 5, age: 10}, {id: 7, name: 'John'} ]

    4 - also it is possible to config, it should be sent all item(Model) properties or only changed.
    By default it sent only changed properties, but send all fields use data.proxy.writer.allFields


    data: {
      proxy: {
        autoSave: false,
        method: 'POST',
        url: 'app',
        writer: {
          type: 'json',
          allFields: true
    function saveChanges(){;