ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: rgorantla on September 16, 2014, 09:39:06 pm

Title: pqgrid not loading v2.2.0
Post by: rgorantla on September 16, 2014, 09:39:06 pm
Hi,

I have included all files  in my header section : and trying to load pqgrid but receiving an error "undefined is not a function"  (var grid1 = $("div#medicalgrid").pqGrid)

<link rel="stylesheet"         href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/themes/base/jquery-ui.css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
    <link href="~/Content/pqgrid.min.css" rel="stylesheet" />
     <script src="~/Scripts/touch-punch.min.js"></script>
    <script src="~/Scripts/pqgrid.min.js"></script>
Title: Re: pqgrid not loading v2.2.0
Post by: paramvir on September 16, 2014, 10:54:04 pm
This is not the right syntax to initialize pqGrid. (var grid1 = $("div#medicalgrid").pqGrid)

Please read through the tutorial

http://paramquery.com/pro/tutorial#topic-firstgrid
Title: Re: pqgrid not loading v2.2.0
Post by: rgorantla on September 17, 2014, 12:07:29 am
I tried all different possibilities , but still receiving the same error
 var grid1 = $("div#medicalgrid").pqGrid({
Title: Re: pqgrid not loading v2.2.0
Post by: rgorantla on September 17, 2014, 05:23:11 am
I got this working