ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started 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>
-
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
-
I tried all different possibilities , but still receiving the same error
var grid1 = $("div#medicalgrid").pqGrid({
-
I got this working