ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: nzxgq0 on March 11, 2020, 01:04:31 am
-
Hello,
I am applying the local filtering to my asp.net razor page by referring to
https://paramquery.com/pro/demos/filter_local
However it reports "Uncaught TypeError: this.toolbar is not a function".
I used a different jquery 1.10.2 than 1.9.1 because there is other javascript files depending on that version.
<script src="~/Scripts/jquery-1.10.2.min.js"></script>
Any idea?
Thanks in advance.
Hua
-
For this error, jQuery version doesn't matter, this error could be thrown if the code from that demo is used in pqgrid free version
Please ensure that you are using Pro latest version.
-
For this error, jQuery version doesn't matter, this error could be thrown if the code from that demo is used in pqgrid free version
Please ensure that you are using Pro latest version.
Thanks. I believe I am using the Pro latest version.
I don't know what happened. I modified the code as below
var $toolbar = $grid.find('.pq-toolbar'),
//var $toolbar = this.toolbar(),
var grid = $grid.pqGrid("instance");
grid.filter({
//this.filter({
and it is working now.