ParamQuery grid support forum

General Category => Bug Report => Topic started by: snagaval on December 09, 2014, 12:50:04 am

Title: refreshHeader function call generates an error
Post by: snagaval on December 09, 2014, 12:50:04 am
Hello,

In the following piece of code:

   var baGrid = $("#dispDataDiv" ).pqGrid( "getInstance" ).grid;
   baGrid.refreshHeader();

 the call to refreshHeader() works in the grid pro evaluation version -- but, generates a "refreshHeader is not a function" error in the paid version (V 2.3.0).

Any ideas?
Thanks,
Title: Re: refreshHeader function call generates an error
Post by: paramvir on December 09, 2014, 01:05:33 am
Currently (i.e., for version 2.3.0) the workaround for refreshHeader method is to use this code snippet after loading the jquery, jqueryui and pqgrid files.

Code: [Select]
        $.paramquery.pqGrid.prototype.refreshHeader=function(){
            this._createHeader();
        };