ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: shadab on April 03, 2020, 01:47:06 am

Title: Grid Refresh issue
Post by: shadab on April 03, 2020, 01:47:06 am
Grid is not refresh I'm  I'm implement this grid https://jsfiddle.net/as1euxtr/

Here is my code for the refresh grid and calling the below method. please let me know if still any information with us thanks in advanced

            self.refreshGrid = function () {
                debugger;
                obj.dataModel = { data: importFileList };
                 $("#grid_filter").pqGrid(obj);
                grid.pqGrid('refreshDataAndView');
               
            }
Title: Re: Grid Refresh issue
Post by: paramvir on April 03, 2020, 09:06:36 am
grid is reloaded with new_data as below:

Code: [Select]
  $("#grid_filter").pqGrid( 'option', 'dataModel.data', new_data ).pqGrid( 'refreshDataAndView' );