Hi all!
I have this calculation as dataprovider in a HTML_FIELD:
function link_clc()
{
return "<html><body><a href='javascript:appendText(\"" + company_name + "\")'>" + company_name + "</a></body></html>";
}
This way, the HTML_FIELD element becomes a link which executes appendText() function when a click is performed…
Well, this is working right in WC & SC* if controller.readOnly == false, however, if controller.readOnly == true, it doesn’t work in SC (it does in WC)… It’s the expected behaviour?
- In SC I have to do two clicks: one for selecting record and second to perform the link action.