Hi Marcelo,
Thank you for this quick answer. Unfortunately, I tried it and it is not working.
I created a web block with this js script included in the javascript popup. I included the block in my screen. I enclosed the buttons in 2 different containers with the same Style Class : noExpand and it is not working ...
I am also facing another issue with the accordion : When I click on a button, I have a screen action updating my data base and then refreshing the data source and ajax refreshing my widget.
If as widget refreshed I select the if with the buttons, it does not refresh the buttons but the database yes and I can still use the accordion. If I select the list record, then I cannot expand the accordion anymore but the buttons are refreshed
Best regards