Update specific cells of a data grid

Robin shared this question 3 years ago
Answered

I have a datagrid presenting two text input fields populated with data from a master and an icon. I defined an on-tap event which changes the background color of the icon. Works fine so far.


If another cell is clicked I want to change the color of the icon of the cell I clicked before to change as well. Tried several things but didn't get it managed. I only get it managed to change the background of the icon in the clicked grid cell or to change all icons if I use set value of datagrid with datamaster.


Actually I just want to "reset" the grid when a cell is clicked before changing the color of an icon

Comments (7)

photo
1

Maybe I should add some more detail:


To reset the grid I use the an "on tap event" with the action "Set Value" on "Data Grid" from the "data master". Unfortunately after this action every added "on tap event" will affect every cell of the grid.


So now I am looking for a possibility how to trigger a specific cell after the reset action but nothing works.


The other possibility would be to limit the "reset" event to specific cells but this also doesn't work

photo
1

Hi Robin,


did you find a solution for your problem?


Would be really helpful...


Thanks,


Anna

photo
1

Hi Anna / Robin,


we are working into a new feature that will help you to solve this. It will be implemented in future updates.


Best,


Sonia Durán

photo
1

Was this problem ever solved?

photo
1

Did this problem ever get resolved?

photo
1

Dear Joe,


Unfortunately not yet. Sorry for any inconvenience.


Best,


Sonia Durán

photo
photo
1

Can you suggest any workarounds? I'm trying to set a value in a single data master element.