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
In the destroy widgets manually document it states that in order to destroy a widget you need to empty out the div that the widget was initialized on. Which is fine for Grids that use a datasource because the data is in the datasource. But when the grid is initialized from HTML you don't really want to clear the HTML because you'll lose the data.
Cause
Sometimes you need to clear the div that a widget was initialized on, but sometimes you don't.
Solution
Kendo improves their destroy function to be more consistent (so we can reuse elements) or the bridge adds logic to always initialize widgets on new elements.
The text was updated successfully, but these errors were encountered:
Category
other
Description of the problem
In the destroy widgets manually document it states that in order to destroy a widget you need to empty out the div that the widget was initialized on. Which is fine for Grids that use a datasource because the data is in the datasource. But when the grid is initialized from HTML you don't really want to clear the HTML because you'll lose the data.
Cause
Sometimes you need to clear the div that a widget was initialized on, but sometimes you don't.
Solution
Kendo improves their destroy function to be more consistent (so we can reuse elements) or the bridge adds logic to always initialize widgets on new elements.
The text was updated successfully, but these errors were encountered: