ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: sidads on October 28, 2013, 07:43:05 pm

Title: Check if Grid is destroyed
Post by: sidads on October 28, 2013, 07:43:05 pm

Hello Experts,

Please advise how to check if a PQ Grid is Destoryed using Destory() method.

I tried using $("#mygrid").length but it returned non zero value

Any help is much appreciate!

Regards,
Adarsh
Title: Re: Check if Grid is destroyed
Post by: paramvir on October 28, 2013, 10:40:15 pm
one of the ways is to check for pq-grid class

$("#mygrid").hasClass("pq-grid") == false