Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hello,
I created a Collection widget that has cells in it. Each cell contains certain attributes and a button.
I attached an image, so you can see what I mean. The cell is the grey area. The button that triggers a service is the star. (it is a button without a text an an icon)
The problem now is, that the click event on the button is triggered and then a click event on the cell is triggered even tough i just clicked the button.
I have tried several things. I tried using a default button with just text without modifications - I tried increased the z-index of the button, I added more text to it -> all this did not work.
Is there a way to prevent the cell from triggering a click event when i click the button?
BR
Solved! Go to Solution.
I just tried it. When I click the button I get both messages. When I click the cell I get just one. Increasing the z-index did not help either. It seems to be a bug in TW Navigate 9.1.0. I tried it in Firefox and Chrome.
Thank you for your help, now I at least know that the problem is not my implementation.
I will just disable the cells click event and add an invisible button in each cell to act as a custom click event trigger.
BR
What specific ThingWorx version are you using?
I've tried this setup in my 9.3.5 in Firefox and it worked fine. Clicking the button triggered the proper status message, and clicking outside of the button triggered the host status message. I've used Status Messages instead of Navigate functions.
Do you want me to attach my entities?
Hello @VladimirRosu,
I am using TW Navigate 9.1.0. If you do not mind I would like to try yours, if my TW is able to import it.
BR
I just tried it. When I click the button I get both messages. When I click the cell I get just one. Increasing the z-index did not help either. It seems to be a bug in TW Navigate 9.1.0. I tried it in Firefox and Chrome.
Thank you for your help, now I at least know that the problem is not my implementation.
I will just disable the cells click event and add an invisible button in each cell to act as a custom click event trigger.
BR
I checked quickly and this was a regression & was fixed in 9.1.2.
Release notes here, you can look at the "Fixed an issue with the Collection widget that was causing a conflict between the CellWasClicked and Clicked events."
.