Wednesday, November 5, 2014

How to enable hyperlink to a column of table

    var data = new Object();
    data = eventObject.businessObject;
    eventObject.srcElement.style.color = "blue";
    eventObject.srcElement.style.cursor = "hand";
    eventObject.srcElement.style.textDecoration = "underline";
    eventObject.srcElement.onclick = function()
    {
        if(cordys.getNodeText(data,".//*[local-name()='GDD_BENE_CODE']","") !="")
        //beneDetails is supposed to have a UI attached to it
        application.showDialog(beneDetails.XMLDocument.documentElement , data);
    }

No comments:

Post a Comment