ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: Ajay on June 08, 2015, 08:44:57 pm

Title: issue with param query pro
Post by: Ajay on June 08, 2015, 08:44:57 pm
Hi,

I have replaced the pqgrid.min.js with pqgrid.min.js pro version.

here is my Code:

 searchOrgGrid.pqGrid({
                    width: NMCApp.getSearchGridWidth(),
                    height: NMCApp.getSearchGridHeight(),
                    editable: false,
                    topVisible: false,
                    bottomVisible: false,
                    numberCell: false,
                    roundCorners: false,
                    wrap: false,
                    colModel: columnModel,
                    dataModel: { data: [] },
                    scrollModel: { pace: 'consistent', horizontal: true });
I am facing issue like:

TypeError: Object doesn't support property or method 'pqGrid'
   at initialize ..
Earlier Iam  referencing both pqgrid.js and pqgrid.min.js.

No  i removed both the files and kept only pqgrid.min.js file of pro version.
 
I am getting issue because  pqgrid.js is not present?

or I am missing anything?
Title: Re: issue with param query pro
Post by: paramvir on June 09, 2015, 01:22:46 pm
Looks like you haven't included pqgrid.min.js correctly. Check the path of the files and refresh your browser's cache.
Title: Re: issue with param query pro
Post by: Ajay on June 11, 2015, 02:52:13 pm
I copied the pqGrid.min.js file into the pqGrid.js file and it is working.
Since when I am running my application in debug mode it  picking from pqGrid.js file.
 and now it isworking. Thanks for the support.