For many years we have had this requirement to embed buttons in the collapsible section of the NavigationBar inside a jqxWindow. However we are trying to upgrade to the latest version of jqWidgets and we noticed that this no longer works. In the past the button used to receive the click event but with the latest version it doesn’t fire anymore and instead the NavigationBar receives the event and proceeds to toggle itself.
Below is a sample code where we were able to reproduce the issue:
You need to attach the event listeners after you have created the jqxWindow and the buttons inside it.
I have updated your Example by switching the places of calling _createWindow() and _addEventListeners() methods.