You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the 'widget' option is part of the options object in getWidget, it is passed directly to kendo, which makes a clone of it (via jquery.extend), effectively cloning the previous value of the observable previously bound to the widget option and keeping it in memory. Any time the binding is reinitialized, such as when the datasource is updated, the options object is wrapped again in this way causing this:
The text was updated successfully, but these errors were encountered:
GothikX
added a commit
to GothikX/knockout-kendo
that referenced
this issue
Apr 5, 2018
options.widget shouldn't be passed to kendo in getWidget because kendo keeps a copy of the options, and repeated reinitialization of the widget will keep all previous instances of the widget
When the 'widget' option is part of the options object in getWidget, it is passed directly to kendo, which makes a clone of it (via jquery.extend), effectively cloning the previous value of the observable previously bound to the widget option and keeping it in memory. Any time the binding is reinitialized, such as when the datasource is updated, the options object is wrapped again in this way causing this:
The text was updated successfully, but these errors were encountered: