I have a button, btnSwitchesSave, that is NOT in the column called colSwitchesRows, but “Any Button Click” fires this button anyway. The button is
outside the “foreach item j in list” loop, but the button still fires off the web viewer.
The button, btnSwitchesSave, is physically in a row below the column colSwitchesRows. Each time the Save button is clicked, the Alert fires off, but the web viewer fires at the same time.
It sounds like a bug. If you can share a link to the project, that would be helpful. If not, I would try moving the btnSwitchesSave button into the colSwitchesRows column and then back out again. If that doesn’t fix the issue, maybe try clearing the browser cache?
This makes sense - the event will fire when any button is clicked. You need to add some logic to check whether or not the clicked button is in colSwitchesRows.
For example, I have 3 buttons in one col that I want grouped together and button 4 should not be part fo the “Any Button Click” logic:
Jane was kind enough to give me the solution:
The if does list all Buttons in colSwitchesRows contain component is the
proper way to check if the button (component) is to be used in Any Button.
Thanks @jane