Author Topic: Grid Refresh issue  (Read 2273 times)

shadab

  • Newbie
  • *
  • Posts: 1
    • View Profile
Grid Refresh issue
« 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');
               
            }

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6255
    • View Profile
Re: Grid Refresh issue
« Reply #1 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' );