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 custom view body rendered, I add some listeners on custom view element. but when I destroy bootstrap-table, event 'custom-view-post-body.bs.table' not remove. the event bound many times.
This is not a bug, the event listener is created by you.
So you have to remove it, if you destroy the table.
The bootstrap-table will only remove event listeners which are created by the bootstrap-table.
The easiest fix for you would be to move adding the listener out of the initTable method.
Would also increase the performance.
Bootstraptable version(s) affected
1.21.2
Description
When custom view body rendered, I add some listeners on custom view element. but when I destroy bootstrap-table, event 'custom-view-post-body.bs.table' not remove. the event bound many times.
Example(s)
Possible Solutions
initTable function
Additional Context
No response
The text was updated successfully, but these errors were encountered: