Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Issue: The DropDownButton component injected into the Grid component's toolbar does not properly remove event listeners when disabled, leading to multiple bindings to the click handler.
Steps to Reproduce:
DropDownButton into the Grid component's toolbar.DropDownButton when one or more rows in the grid are selected.DropDownButton when no rows are selected.DropDownButton.Observed Behavior: The syncfusionComponent.disabled method fails to remove event listeners, resulting in multiple bindings to the click handler.
Workaround: Use the following code to clear existing event listeners:
EventHandler.clearEvents(button.element)