jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Displaying links in jqxGrid Displaying links in jqxGrid #47900

    Nathre
    Participant

    Here for emails

    
    var emailrenderer = function (row, column, value) {
        if (value.indexOf('#') != -1) {
           value = value.substring(0, value.indexOf('#'));
        };
        if(value != ""){
           var preHtml = $.jqx.dataFormat.formatlink("mailto:"+value);
           var html=preHtml.replace(/">mailto:/g,'">'+value);
           return html;
        }
    }
    
Viewing 1 post (of 1 total)