Modifying Table Widget Font

Answered

Comments

2 comments

  • Avatar
    Adi Hecht

    Gina, so try this script please:

    This script will change the text color in all of the table widget cells (except the headers) to white. Combine it with your script which changes only the headers, and you should be good!

    //JS by Adi Hecht. This script to be used in table widgets. The script will change the text color for all cells.
    widget.on('domready', function(sender, ev){
    $("td",element).css({'color':'white'})

    // an event fired on each table re-draw:
    $(element).on('draw.dt', function() {
    $("td",element).css({'color':'white'})
    });

    })
    1
    Comment actions Permalink

Please sign in to leave a comment.