I need to change the list of items in the popup of the dropdown dynamically. To do so, I tried to change the list of items during the beforeOpen and the beforeItemRender event. However, the event only fire once when the component is created. The documentation lead me to believe it should fire every time the button is clicked, right before to popup shows up.
So, I guess this is a bug, but I am also wondering if it should be working, or is there another way to achieve that with the DropDownButton?
SISilambarasan I Syncfusion Team October 19, 2018 04:03 AM
Thank you for using Syncfusion products.
Currently, we don’t have any support to change the popup items dynamically in DropDownButton. However, we have created a workaround sample to change the popup items in DropDownButton using beforeItemRender event on button click and please find the below code example,