//v.2.5 build 91111

/*
 Copyright DHTMLX LTD. http://www.dhtmlx.com
 You allowed to use this component or parts of it under GPL terms
 To use it on other terms or get Professional edition of the component please contact us at sales@dhtmlx.com
 */


function eXcell_jsfunc(cell) {
    this.cell = cell;
    this.grid = this.cell.parentNode.grid;
    this.isDisabled = function() {
        return true
    };
    this.getValue = function() {
        if (this.cell.firstChild.getAttribute)return this.cell.firstChild.innerHTML + "^" + this.cell.firstChild.getAttribute("href")
        else
            return ""
    };
    this.setValue = function(val) {
        if ((typeof(val) != "number") && (!val || val.toString()._dhx_trim() == "")) {
            this.setCValue("&nbsp;", valsAr);
            return (this.cell._clearCell = true)
        }
        var valsAr = val.split("^");
        this.setCValue("<div style='color:blue;cursor:pointer;text-decoration:underline;' onclick='" + valsAr[1] + "'>" + valsAr[0] + "</div>", valsAr)
    }
}
eXcell_jsfunc.prototype = new eXcell;
//v.2.5 build 91111

/*
 Copyright DHTMLX LTD. http://www.dhtmlx.com
 You allowed to use this component or parts of it under GPL terms
 To use it on other terms or get Professional edition of the component please contact us at sales@dhtmlx.com
 */
