Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
Cannot call methods on igGrid prior to initialization; attempted to call method 'destroy'
posted

Hello,

I'm trying out the ignite ui controls. When copy pasting the nestedsplitter.html example from your site, i get the following javascript error when i try to select a node in the tree:

Uncaught Error: cannot call methods on igGrid prior to initialization; attempted to call method 'destroy'

I have tried with versions  jquery >= 1.9. The version of the ignite ui im using is 13.1.20131.2143

Parents
  • 49378
    posted

    Hi Longcat,

    In order to check whether the igGrid has been initialized I would suggest using jQuery'sdatafunction as such:

    if ($("#gridTarget").data("igGrid") !=null) {

         //do something

    }

     

    Please note that this approach may also be applied to other components in the Ignite UI suite.

Reply Children