<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Add tool tip to splunk table headers only in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553523#M38412</link>
    <description>&lt;P&gt;i added exactly your code to my local splunk. But i am getting 404 not found error.&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chinmai_0-1622211309385.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14358i735CDB6586AE37CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chinmai_0-1622211309385.png" alt="Chinmai_0-1622211309385.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 May 2021 14:15:56 GMT</pubDate>
    <dc:creator>Chinmai</dc:creator>
    <dc:date>2021-05-28T14:15:56Z</dc:date>
    <item>
      <title>Add tool tip to splunk table headers only</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553483#M38403</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can anyone tell me how to add tooltip to splunk table headers?&lt;/P&gt;&lt;P&gt;i have headers like header1, header2, header3. i want to show different tooltips for each headers.&lt;BR /&gt;&lt;BR /&gt;i got to know about adding tooltip to table data (&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/Can-tooltip-be-used-on-Splunk-table-headers/m-p/344502" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/Can-tooltip-be-used-on-Splunk-table-headers/m-p/344502&lt;/A&gt; ), but using that i am not able to add tooltip to table headers.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 11:47:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553483#M38403</guid>
      <dc:creator>Chinmai</dc:creator>
      <dc:date>2021-05-28T11:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add tool tip to splunk table headers only</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553510#M38409</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214369"&gt;@Chinmai&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please try this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;XML:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard script="table_header_tooltip.js"&amp;gt;
  &amp;lt;label&amp;gt;Table Header Tooltip&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table id="tbl1"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults count=5 |eval a=1 | accum a | eval "Header 1"="Hello "+a&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;table_header_tooltip.js&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;require([
    'underscore',
    'jquery',
    'splunkjs/mvc',
    'splunkjs/mvc/tableview',
    'splunkjs/mvc/simplexml/ready!'
], function(_, $, mvc, TableView) {

    console.log("Hie 1");
    mvc.Components.get('tbl1').getVisualization(function(tableView) {
        tableView.on('rendered', function() {
            console.log("on rendered");
            tableView.$el.find(`[data-sort-key='Header 1']`).find("a").attr({
                "data-toggle": "tooltip",
                "data-placement": "left",
                "title": "My Tool Tip Value 1"
            });
            tableView.$el.children('[data-toggle="tooltip"]').tooltip();
            tableView.table.render();
        });
    });
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-05-28 at 6.44.32 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14357i69CEFC3B069A3F2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-05-28 at 6.44.32 PM.png" alt="Screenshot 2021-05-28 at 6.44.32 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 09:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553510#M38409</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-05-29T09:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add tool tip to splunk table headers only</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553523#M38412</link>
      <description>&lt;P&gt;i added exactly your code to my local splunk. But i am getting 404 not found error.&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chinmai_0-1622211309385.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14358i735CDB6586AE37CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chinmai_0-1622211309385.png" alt="Chinmai_0-1622211309385.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 14:15:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553523#M38412</guid>
      <dc:creator>Chinmai</dc:creator>
      <dc:date>2021-05-28T14:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Add tool tip to splunk table headers only</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553542#M38413</link>
      <description>where you added table_header_tooltip.js?</description>
      <pubDate>Fri, 28 May 2021 15:18:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553542#M38413</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-05-28T15:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add tool tip to splunk table headers only</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553557#M38415</link>
      <description>&lt;P&gt;added by goin to manage apps, edit properties, add file from UI. file will go to appserver/static folder&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 17:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553557#M38415</guid>
      <dc:creator>Chinmai</dc:creator>
      <dc:date>2021-05-28T17:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Add tool tip to splunk table headers only</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553573#M38417</link>
      <description>cool.. Just open below link and bump the version.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://localhost:8000/en-US/_bump" target="_blank"&gt;https://localhost:8000/en-US/_bump&lt;/A&gt;</description>
      <pubDate>Fri, 28 May 2021 18:48:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-tool-tip-to-splunk-table-headers-only/m-p/553573#M38417</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-05-28T18:48:04Z</dc:date>
    </item>
  </channel>
</rss>

