EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Wojak on January 02, 2025, 03:23:19 PM



Title: Datagrid cancel edit - No method named "destroy"
Post by: Wojak on January 02, 2025, 03:23:19 PM
Hello,
I have a problem when cancelling an edit in datagrid, I have bootstrap 5.
It displays an error `No method named "destroy"`.
I know the error is caused by trying to use the method '$(_5b3).tooltip("destroy");' but it looks like bootstrap "overrides" this method

Is this a known problem?

Code:
Uncaught TypeError: No method named "destroy"
    at HTMLInputElement.<anonymous> (bootstrap.min.js:6:49629)
    at Function.each (jquery.min.js:2:2573)
    at w.fn.init.each (jquery.min.js:2:1240)
    at w.fn.init.jQueryInterface [as tooltip] (bootstrap.min.js:6:49527)
    at _5b2 (jquery.easyui.min.js:7827:9)
    at HTMLInputElement.<anonymous> (jquery.easyui.min.js:8041:1)
    at Function.each (jquery.min.js:2:2573)
    at w.fn.init.each (jquery.min.js:2:1240)
    at Object.destroy (jquery.easyui.min.js:8040:11)
    at $.fn.validatebox (jquery.easyui.min.js:8019:38)


Title: Re: Datagrid cancel edit - No method named "destroy"
Post by: jarry on January 19, 2025, 07:04:44 PM
This issue has been fixed. Please update to the latest version.