Author Topic: Batch edditing issue  (Read 2163 times)

EddyF

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 1
    • View Profile
Batch edditing issue
« on: June 01, 2015, 11:18:15 pm »
In batch editing sample when setting filterModel type to remote
filterModel: { header: true, type: 'remote' },

link to sample: http://paramquery.com/pro/demos/edit_filter

As soon you modify any cell grid automatically refreshes and does not save changes.
Is there any way I can use remote filtering with batch editing?


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6283
    • View Profile
Re: Batch edditing issue
« Reply #1 on: June 02, 2015, 10:27:25 am »
you might need to stop refresh of filter by removing/commenting the below code when any change is made in data.

/*
            change: function (evt, ui) {               
                //refresh the filter.
                if (ui.source != "add") {
                    $grid.pqGrid("filter", { oper: 'add', data: [] });
                }
            },
*/