<?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: Sideview Utils: How can I remove table headers? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97257#M6702</link>
    <description>&lt;P&gt;Hi.. I have got it working. Sometimes its very odd but this one finally worked&lt;/P&gt;</description>
    <pubDate>Sun, 04 Jun 2017 19:24:49 GMT</pubDate>
    <dc:creator>lakshmisri</dc:creator>
    <dc:date>2017-06-04T19:24:49Z</dc:date>
    <item>
      <title>Sideview Utils: How can I remove table headers?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97252#M6697</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;

&lt;P&gt;I'm using Sideview Utils Table module to display my results. Howewer, I only have two columns, where the first column is the label for the value displayed in the second column (I flipped the table with "transpose"). &lt;BR /&gt;
So in my case, I don't need the table header.&lt;BR /&gt;
How can I hide the table header containing the automated generated field names by tranpose?&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Simon &lt;/P&gt;</description>
      <pubDate>Sat, 20 Oct 2012 09:25:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97252#M6697</guid>
      <dc:creator>Simon</dc:creator>
      <dc:date>2012-10-20T09:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sideview Utils: How can I remove table headers?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97253#M6698</link>
      <description>&lt;P&gt;Well,  it sounds like a strange use case, but the only way I can think of do to what you ask is to put in some custom CSS.   The column row has the classname "columnRow",  so you could put this custom CSS into application.css&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.your_view_name_here .Table .columnRow {
    display:none;
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and it would hide the column row.  Can you describe a few more details of your situation.  It sounds strange enough that maybe we can help you think of another way to do what you need? &lt;/P&gt;

&lt;P&gt;UPDATE:: &lt;/P&gt;

&lt;P&gt;1) Sorry I messed up the sample CSS.  Indeed as you discovered it should have been &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.splView-your_view_name_here .Table .columnRow {
    display:none;
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;2) I totally get what you're trying to do. &lt;/P&gt;

&lt;P&gt;a) one way is that instead of worrying about trying to eliminate the weird "column" and "row1" field names,  just rename them to less weird names, ie  &lt;CODE&gt;| rename column as type row1 as duration&lt;/CODE&gt;.  &lt;/P&gt;

&lt;P&gt;b) Or, if you know in advance ALL of the TIME_* values, and you know that they will all always be populated, and there is only a small number of them, and getting the exact table-formatting you want is more important than the sorting and drilldown functionality,   then then you can use the HTML module to render the html any way you like it.   (Note if ANY of those aren't true you're better off not doing it this way but using Pager + Table instead).&lt;/P&gt;

&lt;P&gt;here's how: &lt;/P&gt;

&lt;P&gt;-- There's really no need for the transpose, in fact with this strategy it's much simpler without it.    So remove the transpose, and that will take you back to having just that single-row search result. Note in the next bullet we use the HTML module's internal syntax of $results[0].fieldName$, and the [0] reflects that all our fields are in a single row,  ie there's no transpose at work.&lt;/P&gt;

&lt;P&gt;-- Now that you've removed your &lt;CODE&gt;transpose&lt;/CODE&gt; command, instead of the Pager + Table combination, you would just have an HTML module. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="HTML"&amp;gt;
  &amp;lt;param name="html"&amp;gt;&amp;lt;![CDATA[
    &amp;lt;table class="splTable"&amp;gt;
      &amp;lt;tr&amp;gt;
        &amp;lt;td&amp;gt;uptime&amp;lt;/td&amp;gt;
        &amp;lt;td&amp;gt;$results[0].TIME_UP$&amp;lt;/td&amp;gt;
      &amp;lt;/tr&amp;gt;
      &amp;lt;tr&amp;gt;
        &amp;lt;td&amp;gt;downtime&amp;lt;/td&amp;gt;
        &amp;lt;td&amp;gt;$results[0].TIME_DOWN$&amp;lt;/td&amp;gt;
      &amp;lt;/tr&amp;gt;
      &amp;lt;tr&amp;gt;
        &amp;lt;td&amp;gt;maintenance&amp;lt;/td&amp;gt;
        &amp;lt;td&amp;gt;$results[0].TIME_MAINTENANCE$&amp;lt;/td&amp;gt;
      &amp;lt;/tr&amp;gt;
    &amp;lt;/table&amp;gt;
  ]]&amp;gt;&amp;lt;/param&amp;gt;
&amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 21 Oct 2012 04:53:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97253#M6698</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2012-10-21T04:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sideview Utils: How can I remove table headers?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97254#M6699</link>
      <description>&lt;P&gt;I had to use &lt;BR /&gt;
.splView-_your_view_name_here .splTable .columnRow&lt;BR /&gt;
But then, it works like a charm!&lt;/P&gt;

&lt;P&gt;Well, the point is, I have some statistics in a table, e.g.:&lt;BR /&gt;
TIME_DOWN | TIME_UP | TIME_MAINTENANCE&lt;BR /&gt;
3h        | 2h      | 1h&lt;/P&gt;

&lt;P&gt;With transpose I'm flipping the table:&lt;/P&gt;

&lt;P&gt;column           | row1&lt;BR /&gt;
TIME_DOWN        | 3h&lt;BR /&gt;
TIME_UP          | 2h&lt;BR /&gt;
TIME_MAINTENANCE | 1h&lt;/P&gt;

&lt;P&gt;So actually I don't need the first row with the column identifiers anymore.&lt;/P&gt;

&lt;P&gt;In fact, I wan't to print multiple single values table-formatted. That's why I wanted to hide the columnRow.&lt;/P&gt;

&lt;P&gt;Does that make sense?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:40:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97254#M6699</guid>
      <dc:creator>Simon</dc:creator>
      <dc:date>2020-09-28T12:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sideview Utils: How can I remove table headers?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97255#M6700</link>
      <description>&lt;P&gt;I have a similar problem. I am using splunk view / splunk table visualization to display the results. &lt;/P&gt;

&lt;P&gt;Without the header, I need just the values. I am using the below css. I want to remove it only for one of the panels in the dashboard. But this is not working&lt;/P&gt;

&lt;H1&gt;problem_response_compliance .shared-resultstable-resultstableheader {&lt;/H1&gt;

&lt;PRE&gt;&lt;CODE&gt; display:none;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:46:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97255#M6700</guid>
      <dc:creator>lakshmisri</dc:creator>
      <dc:date>2020-09-29T12:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sideview Utils: How can I remove table headers?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97256#M6701</link>
      <description>&lt;P&gt;From this CSS I think you're not using Sideview Utils, but rather a core Splunk simple xml dashboard. Although the same thing can probably be done in that system,  I'm afraid I'm hesitant to give advice without knowing whether it would work long term.   You can certainly use DOM inspectors (like the Firebug add on for Firefox) to explore what the classnames actually are in the DOM and why your CSS selectors aren't matching or are matching too aggressively. &lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 17:30:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97256#M6701</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2017-02-10T17:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sideview Utils: How can I remove table headers?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97257#M6702</link>
      <description>&lt;P&gt;Hi.. I have got it working. Sometimes its very odd but this one finally worked&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2017 19:24:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Sideview-Utils-How-can-I-remove-table-headers/m-p/97257#M6702</guid>
      <dc:creator>lakshmisri</dc:creator>
      <dc:date>2017-06-04T19:24:49Z</dc:date>
    </item>
  </channel>
</rss>

