function hrefPromptFormatter(params) {
    let url = '';
    let linkText = '';
    let prompt;
    let method;
    [url, linkText, prompt, method] = params.value.split('|');
    prompt = prompt || 'Are you sure?';
    method = (method || 'post').toLowerCase();
    return `<a class="${crossbeamsGridFormatters.buttonClassForLinks()}" href='#' data-link-prompt="${prompt}" data-method="${method}"
    data-url="${url}" onclick="crossbeamsGridEvents.promptClick(this); return false;">${linkText}</a>`;
  }
// Only url and linkText are required.
Only url and linkText are required.
Only url and linkText are required .
function hrefPromptFormatter(params) {
    let url = '';
    let linkText = '';
    let prompt;
    let method;
    [url, linkText, prompt, method] = params.value.split('|');
    prompt = prompt || 'Are you sure?';
    method = (method || 'post').toLowerCase();
    return `<a class="${crossbeamsGridFormatters.buttonClassForLinks()}" href='#' data-link-prompt="${prompt}" data-method="${method}"
    data-url="${url}" onclick="crossbeamsGridEvents.promptClick(this); return false;">${linkText}</a>`;
  }
function hrefPromptFormatter ( params ) { let url = '' ; let linkText = '' ; let prompt ; let method ; [ url , linkText , prompt , method ] = params . value . split ( '|' ) ; prompt = prompt || 'Are you sure?' ; method = ( method || 'post' ) . toLowerCase ( ) ; return ` ${ crossbeamsGridFormatters . buttonClassForLinks ( ) } ${ prompt } ${ method } ${ url } ${ linkText } ` ; }
Only url and linkText are required.
Only url and linkText are required .