jQWidgets Forums

jQuery UI Widgets Forums Grid Destroy not working properly

Tagged: 

This topic contains 7 replies, has 2 voices, and was last updated by  Peter Stoev 11 years, 3 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • Destroy not working properly #49055

    shilpa
    Participant

    Hi Team,
    We have got a single paged application and we are destroying the grid using grid.destroy.However, we are facing a weird issue here that while loading the application in chrome and its taking 300Mb .WHile opening the grid with debugger tools(F12),it takes almost half the memory(155Mb).
    Any thoughts on this?

    Regards,
    Shilpa

    Destroy not working properly #49056

    Peter Stoev
    Keymaster

    Hi Shilpa,

    “destroy” works as expected in the current version. The Garbage Collector of the Browser however may collect its memory when it finds it should.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Destroy not working properly #49079

    shilpa
    Participant

    Hi Peter,

    We are using multiple grid on a single page.When we change page,we are calling destroy separately for each grid.However,it workd fine only for first grid.Later on ,it starts giving exception
    1.
    TypeError: Cannot call method ‘remove’ of undefined at b.extend.destroy
    /lib/jqwidgets/jqxgrid.js:7:167369) at Object.a.jqx.invoke
    /lib/jqwidgets/jqxcore.js:7:763) at Object.a.jqx.jqxWidgetProxy
    /lib/jqwidgets/jqxcore.js:7:4374)
    2.
    TypeError: Cannot read property ‘length’ of undefined at Function.e.extend.each
    /lib/jquery.min.js:2:11567) at a.extend._destroyeditors
    /lib/jqwidgets/jqxgrid.edit.js:7:18887) at b.extend.destroy
    /lib/jqwidgets/jqxgrid.js:7:164475)

    Regards,
    Shilpa

    Destroy not working properly #49080

    Peter Stoev
    Keymaster

    Hi Shilpa,

    Do you use jQWidgets 3.2.1?

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Destroy not working properly #49082

    shilpa
    Participant

    We are using licensed version of jQWidgets v3.1.0 .

    Regards,
    Shilpa

    Destroy not working properly #49084

    Peter Stoev
    Keymaster

    Hi Shilpa,

    I supposed that. Please, try the current version and if you still experience the same behavior, then write back.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Destroy not working properly #49423

    shilpa
    Participant

    Hi Peter,

    We used the current version and still getting these errors.
    1.
    TypeError: Cannot call method ‘remove’ of undefined at b.extend.destroy
    /lib/jqwidgets/jqxgrid.js:7:167369) at Object.a.jqx.invoke
    /lib/jqwidgets/jqxcore.js:7:763) at Object.a.jqx.jqxWidgetProxy
    /lib/jqwidgets/jqxcore.js:7:4374)
    2.
    TypeError: Cannot read property ‘length’ of undefined at Function.e.extend.each
    /lib/jquery.min.js:2:11567) at a.extend._destroyeditors
    /lib/jqwidgets/jqxgrid.edit.js:7:18887) at b.extend.destroy
    /lib/jqwidgets/jqxgrid.js:7:164475)

    PLease provide a solution for this .

    Regards,
    Shilpa

    Destroy not working properly #49430

    Peter Stoev
    Keymaster

    Hi Shilpa,

    Please, provide a sample which demonstrates the experienced behavior. Also, if you use the current version, make sure that you have cleared your Browser’s History before testing.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.