making image (or icon) clickable in a grid

Hello,
I have a grid where I click on the key field, and open a section where I can edit some details of this row: this is working and the code is

                   ...
                  a!linkField(
                    label: "Id",
                    links: {
                      a!dynamicLink(
                         /* the following is clicked */
                        label: fv!item.EMPLOYEE_ID,                   
                        value: fv!item,
                        saveInto: local!editEmployeeItem                       
                      )
                    }
                  ),
                  ...
                     
Now I would use an icon to be clicked instead of fv!item.EMPLOYEE_ID, but this code does not work and I can not understand why.

                  a!imageField(
                    images: a!documentImage(
                      caption: fv!item,
                      document: a!iconIndicator( "COPY"),
                      link: a!dynamicLink(
                        value: fv!item,
                        saveInto: local!editEmployeeItem
                      )
                    )
                  ),
                  ...


Could you please give me some suggestions or hint ?

Thank you in advance, kind regards.
Paolo

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data