<?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: How to display table header in dashboard even without result? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-table-header-in-dashboard-even-without-result/m-p/481731#M31586</link>
    <description>&lt;P&gt;Thank you @jacobevans.  Override CSS in simple XML is pretty cool.  I'll have to dig into this later.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2019 03:55:13 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2019-09-18T03:55:13Z</dc:date>
    <item>
      <title>How to display table header in dashboard even without result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-table-header-in-dashboard-even-without-result/m-p/481729#M31584</link>
      <description>&lt;P&gt;I have a case when results are few, if any.  In dashboard, fewer rows takes up smaller vertical space, but if no result returns, it takes up a taller default.  I would rather align the tables with smaller vertical space than forcing users to scroll.  Is there a way to achieve this? (Display table header is just one such thought but I don't know how.)&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 18:57:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-table-header-in-dashboard-even-without-result/m-p/481729#M31584</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2019-09-16T18:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to display table header in dashboard even without result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-table-header-in-dashboard-even-without-result/m-p/481730#M31585</link>
      <description>&lt;P&gt;Greetings @yuanliu,&lt;/P&gt;

&lt;P&gt;You can achieve this in the simple XML without JS. If you inspect that panel when there are no results, you'll see it has a CSS class of &lt;CODE&gt;splunk-viz-msg&lt;/CODE&gt;. If you override the default CSS settings of &lt;CODE&gt;splunk-viz-msg&lt;/CODE&gt; in your simple XML, you can set the height to be whatever you want. We use &lt;CODE&gt;height: 60px&lt;/CODE&gt; in our environment.&lt;/P&gt;

&lt;P&gt;@niketnilay did a nice write-up of how to apply CSS directly in the simple XML here: &lt;A href="https://answers.splunk.com/answers/590387/how-do-i-update-panel-color-in-splunk-using-css-1.html"&gt;https://answers.splunk.com/answers/590387/how-do-i-update-panel-color-in-splunk-using-css-1.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 21:04:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-table-header-in-dashboard-even-without-result/m-p/481730#M31585</guid>
      <dc:creator>jacobpevans</dc:creator>
      <dc:date>2019-09-16T21:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to display table header in dashboard even without result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-table-header-in-dashboard-even-without-result/m-p/481731#M31586</link>
      <description>&lt;P&gt;Thank you @jacobevans.  Override CSS in simple XML is pretty cool.  I'll have to dig into this later.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 03:55:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-table-header-in-dashboard-even-without-result/m-p/481731#M31586</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2019-09-18T03:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to display table header in dashboard even without result?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-table-header-in-dashboard-even-without-result/m-p/481732#M31587</link>
      <description>&lt;P&gt;You're welcome. Thank you for accepting the answer.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 17:43:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-table-header-in-dashboard-even-without-result/m-p/481732#M31587</guid>
      <dc:creator>jacobpevans</dc:creator>
      <dc:date>2019-09-18T17:43:05Z</dc:date>
    </item>
  </channel>
</rss>

