<?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: Disable drilldown on specific cell in SimpleResultsTable in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41014#M1958</link>
    <description>&lt;P&gt;In 6.1, you can disable drilldown on certain table cells in this fashion:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;table&amp;gt;
  &amp;lt;title&amp;gt;Some Table&amp;lt;/title&amp;gt;
  &amp;lt;searchString&amp;gt;
    ...
  &amp;lt;/searchPostProcess&amp;gt;
  &amp;lt;option name="drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
  &amp;lt;drilldown&amp;gt;
    &amp;lt;condition field="status"&amp;gt;
    &amp;lt;/condition&amp;gt;
    &amp;lt;condition field="eventcount"&amp;gt;
    &amp;lt;/condition&amp;gt;
    &amp;lt;condition field="appname"&amp;gt;
      &amp;lt;link&amp;gt;
        this_dashboard?form.Appname=$click.value2$
      &amp;lt;/link&amp;gt;
    &amp;lt;/condition&amp;gt;
  &amp;lt;/drilldown&amp;gt;
&amp;lt;/table&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This example would disable drilldown/links to the 'status' and 'eventcount' cells, while allowing drilldown for 'appname'.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#Drilldown_elements"&gt;Details here&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jun 2014 05:12:51 GMT</pubDate>
    <dc:creator>dmillis</dc:creator>
    <dc:date>2014-06-26T05:12:51Z</dc:date>
    <item>
      <title>Disable drilldown on specific cell in SimpleResultsTable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41012#M1956</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;Is it possible to disable drilldown on a spesific cell or column in a table? &lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2011 18:10:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41012#M1956</guid>
      <dc:creator>kjellvis</dc:creator>
      <dc:date>2011-02-08T18:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Disable drilldown on specific cell in SimpleResultsTable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41013#M1957</link>
      <description>&lt;P&gt;Exactly my question, and a simple one.  Why no answer?&lt;BR /&gt;
I have:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;row&amp;gt;
    &amp;lt;table&amp;gt;
      &amp;lt;searchString&amp;gt;table flow,subflow,status,error,logfile | sort flow,utc_time&amp;lt;/searchString&amp;gt;
      &amp;lt;drilldown&amp;gt;
          &amp;lt;link field="logfile"&amp;gt;
          &amp;lt;![CDATA[
          h t t p ://my-url?param=$row.logfile$
          ]]&amp;gt;
          &amp;lt;/link&amp;gt;
      &amp;lt;/drilldown&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This results in the logfile cell linking to my url, but other cells bring up the splunk search results which I don't want my users to see.  I want those other cells to not be clickable.&lt;/P&gt;

&lt;P&gt;I tried:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but that completely disables the drilldown.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2013 18:26:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41013#M1957</guid>
      <dc:creator>kmartine</dc:creator>
      <dc:date>2013-12-04T18:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Disable drilldown on specific cell in SimpleResultsTable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41014#M1958</link>
      <description>&lt;P&gt;In 6.1, you can disable drilldown on certain table cells in this fashion:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;table&amp;gt;
  &amp;lt;title&amp;gt;Some Table&amp;lt;/title&amp;gt;
  &amp;lt;searchString&amp;gt;
    ...
  &amp;lt;/searchPostProcess&amp;gt;
  &amp;lt;option name="drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
  &amp;lt;drilldown&amp;gt;
    &amp;lt;condition field="status"&amp;gt;
    &amp;lt;/condition&amp;gt;
    &amp;lt;condition field="eventcount"&amp;gt;
    &amp;lt;/condition&amp;gt;
    &amp;lt;condition field="appname"&amp;gt;
      &amp;lt;link&amp;gt;
        this_dashboard?form.Appname=$click.value2$
      &amp;lt;/link&amp;gt;
    &amp;lt;/condition&amp;gt;
  &amp;lt;/drilldown&amp;gt;
&amp;lt;/table&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This example would disable drilldown/links to the 'status' and 'eventcount' cells, while allowing drilldown for 'appname'.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#Drilldown_elements"&gt;Details here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 05:12:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41014#M1958</guid>
      <dc:creator>dmillis</dc:creator>
      <dc:date>2014-06-26T05:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disable drilldown on specific cell in SimpleResultsTable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41015#M1959</link>
      <description>&lt;P&gt;This was very helpful!  Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 23:29:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41015#M1959</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2016-08-18T23:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Disable drilldown on specific cell in SimpleResultsTable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41016#M1960</link>
      <description>&lt;P&gt;This doesn't actually remove the links, it just makes it so when you click them nothing happens. They are still blue and underlined. Having links that look like they are links but are really are non-links is very confusing.&lt;/P&gt;

&lt;P&gt;Looking for an ACTUAL way to disable drilldown by column. E.g. make it look like you set drilldown to none. Can't imagine this is an acceptable solution for any front-end developer.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 21:54:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41016#M1960</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2018-10-09T21:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Disable drilldown on specific cell in SimpleResultsTable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41017#M1961</link>
      <description>&lt;P&gt;First use the answer above to disable a column's field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;table&amp;gt;
    &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;&amp;lt;/query&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
    &amp;lt;drilldown&amp;gt;
        &amp;lt;!--Disables the click function for the defined field, which directs to the search results--&amp;gt;
        &amp;lt;condition field="&amp;lt;column_name&amp;gt;"&amp;gt;&amp;lt;/condition&amp;gt;
    &amp;lt;/drilldown&amp;gt;
&amp;lt;/table&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then use HTML/CSS code to remove the style.&lt;/P&gt;

&lt;P&gt;Before modifying the style within the SimpleXML editor for the dashboard (Edit &amp;gt; Edit Source XML):&lt;BR /&gt;
1. Disable the field by using the example above.&lt;BR /&gt;
2. Right click on a disabled field value. &lt;BR /&gt;
3. Click on Inspect/Inspect Element (this should bring up the style for that field) and this should open up Developer Tools.&lt;BR /&gt;
4. Click on the field that you are inspecting and this should bring up the CSS code that needs to be modified (if you didn't disable the field in step 1, you may be redirected to the search results).&lt;BR /&gt;
5. Under Rules/Styles you should see something similar to (notice the word &lt;STRONG&gt;hover&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
    &lt;STRONG&gt;&lt;EM&gt;.element1 .element2:hover {&lt;BR /&gt;
        color: #3863a0;&lt;BR /&gt;
        text-decoration: underline;&lt;BR /&gt;
        cursor: pointer;&lt;BR /&gt;
    }&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;
6. Note the elements that are listed because you are going to use them.&lt;BR /&gt;
7. Add HTML/CSS code to remove the style using the information from step 6.&lt;/P&gt;

&lt;P&gt;Here's an example to remove the links for time from a list display table:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
    /* Add a dependency so that it won't be displayed in the dashboard */
    &amp;lt;html depends="$hiddenForCSS$"&amp;gt;
        &amp;lt;style&amp;gt;
        .shared-eventsviewer .formated-time:hover {
        /* Change from blue (#3863a0) to black */
        color: #000 !important;
        /*  Remove underline effect whenever mouse hovers above field */
        text-decoration: none !important;
        /* Change cursor effect from pointer to text */
        cursor: text !important;
        }
        &amp;lt;/style&amp;gt;
    &amp;lt;/html&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;View this answer for making a global change that'll affect every dashboard:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/330361/how-to-apply-custom-css-to-a-dashboard.html"&gt;https://answers.splunk.com/answers/330361/how-to-apply-custom-css-to-a-dashboard.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 13:14:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41017#M1961</guid>
      <dc:creator>Nextbeat</dc:creator>
      <dc:date>2018-10-10T13:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disable drilldown on specific cell in SimpleResultsTable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41018#M1962</link>
      <description>&lt;P&gt;Sorry replying to an old post.  Use the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;table&amp;gt;
     &amp;lt;search&amp;gt;
         &amp;lt;query&amp;gt;&amp;lt;/query&amp;gt;
     &amp;lt;/search&amp;gt;
     &amp;lt;option name="drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
     &amp;lt;drilldown&amp;gt;
         &amp;lt;!--Disables the action that brings up the search results for the whole table--&amp;gt;
         &amp;lt;condition value="unused"&amp;gt;&amp;lt;/condition&amp;gt;
     &amp;lt;/drilldown&amp;gt;
 &amp;lt;/table&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now you can define specific click functions without worrying about the default action.  Just make sure that you place any other conditions above this one. &lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 14:18:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41018#M1962</guid>
      <dc:creator>Nextbeat</dc:creator>
      <dc:date>2018-10-10T14:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Disable drilldown on specific cell in SimpleResultsTable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41019#M1963</link>
      <description>&lt;P&gt;@Nextbeat Errr... how exactly are you supposed to do this for a table? I followed your directions exactly, and this is what I see. Zero field name mentioned.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;element.style {
}
&amp;lt;style&amp;gt;
.results-table {
    overflow-x: auto;
    position: relative;
    width: 100%;
}
user agent stylesheet
div {
    display: block;
}
.main-section-body {
    color: #3c444d;
    min-height: 500px;
}
body {
    margin: 0;
    background: #f2f4f5;
    color: #3c444d;
    min-width: 960px;
    font-family: Splunk Platform Sans,Proxima Nova,Roboto,Droid,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    transition: margin .2s;
}
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
user agent stylesheet
html {
    color: -internal-root-color;
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Sep 2019 22:57:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41019#M1963</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-09-26T22:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Disable drilldown on specific cell in SimpleResultsTable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41020#M1964</link>
      <description>&lt;P&gt;You only see the hover code if you place the mouse above the desired field and don't click on it.  I had to use the screenshot key to capture the code.  Here's another example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard theme="dark"&amp;gt;
  &amp;lt;label&amp;gt;Test&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Test&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;sourcetype="WinEventLog:Security" | table _time ComputerName Account_Name EventCode&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;100&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;!--Disables the click function for the defined field, which directs to the search results--&amp;gt;
          &amp;lt;condition field="ComputerName"&amp;gt;&amp;lt;/condition&amp;gt;
        &amp;lt;/drilldown&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel&amp;gt;
     /* Add a dependency so that it won't be displayed in the dashboard */
     &amp;lt;html depends="$hiddenForCSS$"&amp;gt;
         &amp;lt;style&amp;gt;
         td.string.highlighted:hover {
         /* Change from blue (#006ea) to black */
         color: #000 !important;
         /*  Remove underline effect whenever mouse hovers above field */
         text-decoration: none !important;
         /* Change cursor effect from pointer to text */
         cursor: text !important;
         }
         &amp;lt;/style&amp;gt;
     &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 28 Sep 2019 15:01:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41020#M1964</guid>
      <dc:creator>Nextbeat</dc:creator>
      <dc:date>2019-09-28T15:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Disable drilldown on specific cell in SimpleResultsTable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41021#M1965</link>
      <description>&lt;P&gt;Here's a snippet of what I captured and used for the code:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://drive.google.com/open?id=1WThffuUELO6B8Y7AfjVPaUBcQcx8oMxG" alt="Example Code" /&gt;&lt;/P&gt;

&lt;P&gt;Here's a screenshot of what it looks like before and after:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://drive.google.com/open?id=12b8NLzlmjMC-LbcLBS8G7c4yFzBDm0ZE" alt="Before" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://drive.google.com/open?id=1aoez80Y8-d_OC06V3K3nxeN21G_o113-" alt="After" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2019 15:08:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/41021#M1965</guid>
      <dc:creator>Nextbeat</dc:creator>
      <dc:date>2019-09-28T15:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Disable drilldown on specific cell in SimpleResultsTable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/531407#M36130</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/76832"&gt;@Nextbeat&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I've just found this post, and I'm having a heck of a time.&amp;nbsp; I think I found the appropriate "hover" element locator.&amp;nbsp; It reads ".table-drilldown&amp;gt;tbody&amp;gt;tr&amp;gt;td, .table-drilldown&amp;gt;tbody&amp;gt;tr&amp;gt;td:hover{...}"&lt;/P&gt;&lt;P&gt;However, when I implement your code with that locator, it doesn't seem to do anything.&amp;nbsp; Additionally, I'd love to see the images that you posted as an answer to this question, but the images aren't displaying and aren'tlinked to anything.&amp;nbsp; I have attempted to put the following into my simple xml, but it seems to have no effect:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;row&amp;gt;
&amp;lt;panel&amp;gt;/* Add a dependency so that it won't be displayed in the dashboard */&amp;lt;html depends="$hiddenForCSS$"&amp;gt;
&amp;lt;style&amp;gt;
.table-drilldown&amp;gt;tbody&amp;gt;tr&amp;gt;td,.table-drilldown&amp;gt;tbody&amp;gt;tr&amp;gt;td:hover {
/* Change from blue (#3863a0) to black */
color: #000 !important;
/* Remove underline effect whenever mouse hovers above field */
text-decoration: none !important;
/* Change cursor effect from pointer to text */
cursor: text !important;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also puzzled by the fact that it seems that ALL of the items in the result table seem to&amp;nbsp; use the same element locator (unless I'm looking in the wrong spot).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help or suggestions would be VERY appreciated.&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Matthew Granger&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 21:39:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/531407#M36130</guid>
      <dc:creator>mgranger1</dc:creator>
      <dc:date>2020-11-30T21:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Disable drilldown on specific cell in SimpleResultsTable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/531649#M36143</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/138723"&gt;@mgranger1&lt;/a&gt;&amp;nbsp;it didn't work because the specific element needed to be used.&amp;nbsp; I started by clicking on the &lt;STRONG&gt;Select an element in the page to inspect it&lt;/STRONG&gt; DevTool (F12) feature and clicked on a &lt;EM&gt;_time&lt;/EM&gt; value.&amp;nbsp; For this example, the element was&amp;nbsp;&lt;SPAN class="selector"&gt;&lt;SPAN class="simple-selector selector-matches"&gt;.&lt;STRONG&gt;table-drilldown&amp;gt;tbody&amp;gt;tr&amp;gt;td:hover&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt;&lt;STRONG&gt;&amp;nbsp;{&lt;/STRONG&gt; (*Hint* Highlight the field, once the desired &lt;STRONG&gt;hover&lt;/STRONG&gt; element appears, right click the field, highlight the element reference, and you'll be able to copy it before disappearing).&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hover color" style="width: 393px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12148iF6932BBCBA8BFFFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Hover color" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Hover color&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt;To get it to work, I didn't include the whole reference, but only entered&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="selector"&gt;&lt;SPAN class="simple-selector selector-matches"&gt;td:hover&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;{ &lt;/STRONG&gt;(notice #test was added and will be explained below).&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hover color overwritten" style="width: 391px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12149iECCC1F5D1B9F9A2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="1Capture.PNG" alt="Hover color overwritten" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Hover color overwritten&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt;You would redo the process for the &lt;STRONG&gt;highlighted&lt;/STRONG&gt; element to change the cursor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Highlight cursor" style="width: 390px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12150i8E30B1CC2F22E20A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2Capture.PNG" alt="Highlight cursor" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Highlight cursor&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt;Here is what both changes looked like after editing the XML (notice the cursor highlighted on the right):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Highlight cursor overwritten" style="width: 536px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12151i49430167920BEAD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="3Capture.PNG" alt="Highlight cursor overwritten" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Highlight cursor overwritten&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt;The text color was changed to black, and the cursor was set to text.&amp;nbsp; Now that you've seen the element style changes, let's take a look at the code.&amp;nbsp; First I should mention adding a &lt;STRONG&gt;panel ID&lt;/STRONG&gt; t&lt;/SPAN&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt;o prevent unwanted changes to the dashboard.&amp;nbsp; Then use this ID along with the mentioned element above, so under &lt;EM&gt;&amp;lt;row&amp;gt;&amp;lt;panel&amp;gt;&amp;lt;html depends="$hiddenForCSS$"&amp;gt;&amp;lt;style&amp;gt;&lt;/EM&gt; I added &lt;STRONG&gt;#test td:hover {&lt;/STRONG&gt;.&amp;nbsp; After that, I added the desired style changes&amp;nbsp;&lt;STRONG&gt;color: #000&lt;/STRONG&gt; and&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;cursor: text&lt;/STRONG&gt;.&amp;nbsp; To make sure these modifications would take effect, at the end I added&amp;nbsp;&lt;STRONG&gt;!important;&lt;/STRONG&gt; to each of the lines.&amp;nbsp; Finally, I ended the section with &lt;STRONG&gt;}&lt;/STRONG&gt; &lt;EM&gt;&amp;lt;/style&amp;gt;&amp;lt;/html&amp;gt;&amp;lt;/panel&amp;gt;&amp;lt;/row&amp;gt;&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XML Code" style="width: 719px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12147iDE1C6854F508A9C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="4Capture.PNG" alt="XML Code" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;XML Code&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 07:54:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Disable-drilldown-on-specific-cell-in-SimpleResultsTable/m-p/531649#M36143</guid>
      <dc:creator>Nextbeat</dc:creator>
      <dc:date>2020-12-02T07:54:13Z</dc:date>
    </item>
  </channel>
</rss>

