jQWidgets Forums

jQuery UI Widgets Forums Grid Destroy not working properly Reply To: Destroy not working properly

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