Change image in field html image in Editable grid view

I would like to change the image of an html image field on the onLoadRecord event.
I tried with {PDF2} = “< img src=…/_lib/img/pdf2chk.png >”;
but it doesn’t work
If I change the field in label it works but does not allow me to connect an Application link

Any solution?
TKS

I answer myself
the best method is to use label fields to be dynamically modified on the onLoadRecord event.
my finally code is:
$LINKPAGE = sc_make_link(apri_mod_rischi, NPROT={NPROT};m_rischid=[s_rischid];m_docweb=[s_docweb]);
{PDF2} = ‘< a id= “sc_AS_pdf2” class=“scButton_disabledSCImage " title=“Open pdf” style=“vertical-align: middle; display:inline-block;” href=”’.$LINKPAGE.’" target="_blank">< img id=“id_img_sc_pdf2” src="…/_lib/img/pdf2chk.png" style=“border-width: 0; cursor: pointer”>< /a>’;

the link is a blank page with the code for open or create a pdf

1 Like