Forum Discussion

cartercjb's avatar
03-14-2022
Solved

DYNAMIC SUBTOTAL TEXT

I am trying to remove the Total text portion from the subtotal row so that it only reads the row value - COTA (highlighted in yellow):  Referencing this KB article, I was able successfully thi...
  • harikm007's avatar
    03-14-2022

    cartercjb 

    Please check this script:

     

    widget.on('ready',function(e, args){
    $('[id="' + args.widget.oid + '"]').find('span:contains(" Total")').each(function(index){
        
        $(this).text($(this).text().replace(' Total', ''));
        })
    })

     

    -Hari