I’m using grid view to show a list of devices from which I want to pick more than one. This is linked to Node red using mqtt.
I get from node red a list of devices that includes all the possibles with ticks against those selected.
Inside the HR mqtt plug in i create an array for gridview that shows up as a column of devices with a tick icon against those included. If I click on any row, the new value for selected is sent to node red. Node red toggles that device on the included list, updates the master list and sends it back again. This works fine as long as I don’t click the same row more than once.
What doesn;t work is if I change my mind in HR and click the same device twice (toggle it ON, oops toggle it OFF again.) The selection hasn’t changed so no info is sent to node red. I have tried every option I can think of in property setting etc but cannot get this step to work correctly.
It seems the second and subsequent click on a device row in gridview is not being actioned. I have to click on another row in between the ON/OFF clicks on the same device.
Is there a way of getting round this?