Toggle dropdown list via scripting

I’m trying to open the dropdown list using scripting instead of a mouse click, but not sure how to do this. Could anyone please help? Thank you in advance

event.source.parent.getComponent('Dropdown').showPopup()

4 Likes