<commit_before>function CustomTooltip() { }

CustomTooltip.prototype.init = function(params) {
    var eGui = (this.eGui = document.createElement('div'));

    eGui.classList.add('custom-tooltip');

    if (params.rowIndex != null) {
        eGui.innerHTML = '<strong>Row ' + params.rowIndex + ':</strong> ' + params.value;<commit_msg>AG-588 - updated set filter example to use tooltip location param<commit_after>function CustomTooltip() { }

CustomTooltip.prototype.init = function(params) {
    var eGui = (this.eGui = document.createElement('div'));

    eGui.classList.add('custom-tooltip');

    if (params.location === 'setFilterValue') {
        eGui.innerHTML = '<strong>Full value:</strong> ' + params.value;
{'fraction_non_alphanumeric': 0.15598885793871867, 'fraction_numerical': 0.004178272980501393, 'mean_word_length': 4.2101449275362315, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1225001', 'n_tokens_mistral': 213, 'n_tokens_neox': 211, 'n_words': 41}