I have a gridview in retool (desktop) and would like to open a modal after clicking on the image (or the button). The modal should contain the information of the product i clicked on.
The question is: is it possible to know what product_id, index or what block in the grid i clicked on?
You're close - you can access the index or value of the item in the gridview component by using the {{ i }} or {{ item }} values. i will give you the index, item with give you the value (ie: "Sla")