ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: EddyF on June 01, 2015, 11:18:15 pm

Title: Batch edditing issue
Post by: EddyF 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?

Title: Re: Batch edditing issue
Post by: paramvir 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: [] });
                }
            },
*/