<?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: Fix table header and add vertical scrollbar using CSS and JavaScript in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300909#M90606</link>
    <description>&lt;P&gt;can anyone suggest on this?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2017 18:25:44 GMT</pubDate>
    <dc:creator>493669</dc:creator>
    <dc:date>2017-10-09T18:25:44Z</dc:date>
    <item>
      <title>Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300908#M90605</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I want to display 100 rows results in table per page with vertical scrollbar and fix the header when we move down.&lt;BR /&gt;
I am trying to use &lt;CODE&gt;overflow-y: scroll;&lt;/CODE&gt; on div. so it shows vertical scrollbar but it is showing 10 rows per page with header is not fixed.&lt;/P&gt;

&lt;P&gt;can any one please help me...&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2017 15:39:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300908#M90605</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-10-08T15:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300909#M90606</link>
      <description>&lt;P&gt;can anyone suggest on this?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2017 18:25:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300909#M90606</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-10-09T18:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300910#M90607</link>
      <description>&lt;P&gt;@493669, can you please add your current CSS override as to where you have applied &lt;CODE&gt;overflow-y: scroll;&lt;/CODE&gt;.&lt;BR /&gt;
Adding a screenshot of what you have vs what you want will also help.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2017 18:29:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300910#M90607</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-09T18:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300911#M90608</link>
      <description>&lt;P&gt;&lt;IMG src="http://file:///C:/Users/mandale_rajesh/Desktop/scrollbar%20vertical.JPG" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;I have applied below js on div:-&lt;BR /&gt;
div#multiselect {&lt;BR /&gt;
    overflow-y: scroll;&lt;BR /&gt;
}&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 16:11:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300911#M90608</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-10-10T16:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300912#M90609</link>
      <description>&lt;P&gt;Hi @niketnilay,&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://file:///C:/Users/mandale_rajesh/Desktop/scrollbar%20vertical.JPG" alt="alt text" /&gt;I have applied below js:-&lt;BR /&gt;
div#tableid{&lt;BR /&gt;
    overflow-y: scroll;&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;I am not able to add screenshot&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 16:19:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300912#M90609</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-10-10T16:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300913#M90610</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3638iA8908B4C32699017/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Here on every page of table I want to display 100 records with enabled vertical scrollbar .&lt;BR /&gt;
and when I scroll down the first row should remain fixed .&lt;BR /&gt;
Here I am using below js:&lt;BR /&gt;
 div#tableid{&lt;BR /&gt;
overflow-y: scroll;&lt;BR /&gt;
}&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 02:47:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300913#M90610</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-10-12T02:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300914#M90611</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Can any one suggest whether is it possible in Splunk?&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2017 06:10:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300914#M90611</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-10-14T06:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300915#M90612</link>
      <description>&lt;P&gt;can anyone suggest on this?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 19:01:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300915#M90612</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-10-19T19:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300916#M90613</link>
      <description>&lt;P&gt;@493669, I have converted your answer to comment so that this question flags as unanswered for others. I don't think simply changing CSS will get you what you want. Rather it would be an extension to table renderer. I have not been able to get this to work. Will updated if I get a solution before the others.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 06:29:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300916#M90613</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-20T06:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300917#M90614</link>
      <description>&lt;P&gt;thanks @niketnilay &lt;BR /&gt;
yes with CSS , we need to change js also..&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 13:54:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300917#M90614</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-10-20T13:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300918#M90615</link>
      <description>&lt;P&gt;@493669, while I could not figure out Splunk JS changes to format TableView with Fixed Header, following is a CSS based change &lt;CODE&gt;position: fixed;&lt;/CODE&gt; that will fix table header. Applying it to the main table with data would not let bootstrap apply required table formatting, hence, &lt;/P&gt;

&lt;P&gt;1) I created a dummy table with single row. &lt;BR /&gt;
2) Then I fixed the Dummy Table Header, &lt;BR /&gt;
3) Hidden one dummy row and &lt;BR /&gt;
4) Also hidden the Actual Table Header to be replaced by Dummy Table Header whose position was fixed through CSS.&lt;BR /&gt;
5) Finally through CSS set the z-index for Dummy Table with Header to be higher priority than the Actual Table with Data so that Fixed Dummy table Header Overlays.&lt;/P&gt;

&lt;P&gt;PS: I have to set the width the Fixed Table Header to slightly less than 100% to account for padding which does not get applied by Bootstrap due to our fixed position CSS override.&lt;/P&gt;

&lt;P&gt;For setting the Table rows to 100 following Simple XML Table Configuration option has been used: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="count"&amp;gt;100&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3639iF07A15B1A6D0CEA0/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Following is a run anywhere sample dashboard running on Splunk's _internal index.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard hideChrome="false" hideTitle="false" hideEdit="false"&amp;gt;
  &amp;lt;label&amp;gt;Fix Table Header and Vertical Scroll&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
          #tableFixedHeader {
            position: fixed; /* Set the Dummy Table Header to fixed position */
            z-index: 2; /* Overlay Dummy Table Header on Table Body through z-index priority */
          }
          #tableFixedHeader div.lazy-results-table {
            width: 98% !important; /* Due to fixed position of Dummy Table Header Table width 100% does not account for padding*/
          }
          div[id^="tableFixedHeader-footer"]{
            visibility: hidden; /* Table footer should not be displayed for Dummy Table Header*/ 
          }
          #tableFixedHeader tbody{
            visibility: hidden; /* Dummy Table has only one row. Hide the Dummy Table body */
          }
          #tableScrollBody{
            z-index: 1;
          }
          #tableScrollBody thead{
            visibility: hidden; /* Hide the Header from Table Body as the Header is displayed through Dummy Table with Header */
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
      &amp;lt;table id="tableFixedHeader"&amp;gt;
        &amp;lt;!-- Query to create Dummy Table with only one row. Used Post Processing to avoid separate search query. 
        Post Processing would not be required if Base Search does not contain transforming command or returns raw events as table. 
        It would be better to re-run the same query with | head 1, instead of post processing.--&amp;gt;
        &amp;lt;search base="baseSearch"&amp;gt;
          &amp;lt;query&amp;gt;| head 1
          &amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
      &amp;lt;table id="tableScrollBody"&amp;gt;
        &amp;lt;!-- Table with content. Created as Base Search to pass on the results to --&amp;gt;
        &amp;lt;search id="baseSearch"&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd
| timechart span=5m count by log_level
          &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;/search&amp;gt;
        &amp;lt;!-- Table option to show 100 results per page. --&amp;gt;
        &amp;lt;option name="count"&amp;gt;100&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;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please try out and see if it suffices the needs. If it does not you will have to search online for &lt;BR /&gt;
1) Detailed CSS override for fixed menu in a page or &lt;BR /&gt;
2) SplunkJS Stack with Custom Render for TableView&lt;BR /&gt;
3) Create your own custom visualization to display table as per your need using Splunk Custom Visualization API.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2017 19:39:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300918#M90615</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-22T19:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300919#M90616</link>
      <description>&lt;P&gt;@niketnilay,&lt;BR /&gt;
Currently i am  trying below css:-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  table&amp;gt;tbody {
      overflow: scroll !important;
      height: 400px !important;
      overflow-x: hidden !important;
      display: block  !important;
      width: 100% !important;
    }

table&amp;gt;thead {
                display: block  !important;
                position: relative  !important;
                width: 100% !important;
}

thead tr th:nth-child(1) {
width: 2.7% !important;
text-align: left !important;
}


tbody tr td:nth-child(1) {
width: 1.2% !important;
text-align: left !important;
}

tbody tr td:nth-child(2) {
width: 1.2% !important;
text-align: left !important;
}

thead tr th:nth-child(2) {
width: 2.7% !important;
text-align: left !important;
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Oct 2017 09:32:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300919#M90616</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-10-23T09:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300920#M90617</link>
      <description>&lt;P&gt;@493669, is your CSS working for you? Have you tried the run any where dashboard example I have provided? Can it suffice the need? Will you be having only Table in your Dashboard or other visualizations as well?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 09:43:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300920#M90617</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-23T09:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300921#M90618</link>
      <description>&lt;P&gt;the above css is fixing the header . I need to make few alignment changes for &lt;CODE&gt;th&lt;/CODE&gt; and &lt;CODE&gt;td&lt;/CODE&gt; for all child.&lt;BR /&gt;
Thanks  @niketnilay&lt;BR /&gt;
I tried your dashboard example it is fixing header position but when I scroll I am seeing rows above and below that header.&lt;BR /&gt;
I am populating my dashboard after serch criteria and then clicking on submit button the table is getting displayed .&lt;BR /&gt;
So I am fixing table (panel) height too.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 10:07:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300921#M90618</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-10-23T10:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300922#M90619</link>
      <description>&lt;P&gt;@niketnilay&lt;/P&gt;

&lt;P&gt;Could you please suggest any modification on above css for auto alignment&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 10:20:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300922#M90619</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-10-23T10:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300923#M90620</link>
      <description>&lt;P&gt;@493669, The current work around with CSS that I proposed was to fix the Table header while you use Splunk's UI scroll. You obviously noticed the issue with this approach (but this was the quickest change/not the easiest though, that I could think of). So, let me convert to comment again. So that others can pick this up meanwhile if I can spend some time on it with one of the workarounds I proposed.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 11:17:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300923#M90620</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-23T11:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300924#M90621</link>
      <description>&lt;P&gt;Does anyone resolved this? I am also having the same requirement. &lt;BR /&gt;
@niketnilay I tried your solution but that is also not working for me. The table header is hidden and dummy table header is not getting displayed. &lt;BR /&gt;
Here is my XML:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;row&amp;gt;
 &amp;lt;panel&amp;gt;
    &amp;lt;html&amp;gt;
      &amp;lt;style&amp;gt;
        #tableFixedHeader {
         position: fixed; /* Set the Dummy Table Header to fixed position */
         z-index: 2; /* Overlay Dummy Table Header on Table Body through z-index priority */
       }
       #tableFixedHeader div.lazy-results-table {
         width: 98% !important; /* Due to fixed position of Dummy Table Header Table width 100% does not account for padding*/
       }
       div[id^="tableFixedHeader-footer"]{
         visibility: hidden; /* Table footer should not be displayed for Dummy Table Header*/ 
       }
       #tableFixedHeader tbody{
         visibility: hidden; /* Dummy Table has only one row. Hide the Dummy Table body */
       }
       #tableScrollBody{
         z-index: 1;
       }
       #tableScrollBody thead{
         visibility: hidden; /* Hide the Header from Table Body as the Header is displayed through Dummy Table with Header */
       }
      &amp;lt;/style&amp;gt;
    &amp;lt;/html&amp;gt;
   &amp;lt;title&amp;gt;Pre-Live Offer Details&amp;lt;/title&amp;gt;
   &amp;lt;input type="dropdown" searchWhenChanged="true" token="OfferStatus"&amp;gt;
     &amp;lt;label&amp;gt;Offer Status&amp;lt;/label&amp;gt;
     &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
     &amp;lt;choice value="Live"&amp;gt;Live&amp;lt;/choice&amp;gt;
     &amp;lt;choice value="Live with No Enrollments"&amp;gt;Live with No Enrollments&amp;lt;/choice&amp;gt;
     &amp;lt;choice value="Live with Missing Elements"&amp;gt;Live with Missing Elements&amp;lt;/choice&amp;gt;
     &amp;lt;choice value="Ready to Go Live"&amp;gt;Ready to Go Live&amp;lt;/choice&amp;gt;
     &amp;lt;choice value="Ready to Go Live with Missing Elements"&amp;gt;Ready to Go Live with Missing Elements&amp;lt;/choice&amp;gt;
     &amp;lt;choice value="In-Process"&amp;gt;In-Process&amp;lt;/choice&amp;gt;
     &amp;lt;choice value="Failed"&amp;gt;Failed&amp;lt;/choice&amp;gt;
     &amp;lt;choice value="Stalled"&amp;gt;Stalled&amp;lt;/choice&amp;gt;
     &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
   &amp;lt;/input&amp;gt;
  &amp;lt;table id="tableFixedHeader"&amp;gt;
      &amp;lt;!-- Query to create Dummy Table with only one row. Used Post Processing to avoid separate search query. 
      Post Processing would not be required if Base Search does not contain transforming command or returns raw events as table. 
      It would be better to re-run the same query with | head 1, instead of post processing.--&amp;gt;
      &amp;lt;search base="baseSearch"&amp;gt;
        &amp;lt;query&amp;gt;
          | head 1
        &amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;option name="count"&amp;gt;1&amp;lt;/option&amp;gt;

     &amp;lt;option name="rowNumbers"&amp;gt;true&amp;lt;/option&amp;gt;

    &amp;lt;/table&amp;gt;
   &amp;lt;table id="tableScrollBody"&amp;gt;
     &amp;lt;search id="baseSearch"&amp;gt;
       &amp;lt;query&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;|inputlookup oip_status_enhancements.csv&lt;BR /&gt;
 | addinfo&lt;BR /&gt;
 |eval five_days_ago=relative_time(now(),"-5d@d")&lt;BR /&gt;
 |where OFFR_STRT_DT1Epoch&amp;gt;= strptime(strftime(now(),"%m/%d/%y"),"%m/%d/%y") OR ((Status="In-Process" OR Status="Failed" OR Status="Stalled" OR Status="Live with Missing Elements") AND OFFR_STRT_DT1Epoch&amp;gt;=five_days_ago)&lt;/P&gt;

&lt;P&gt;|replace "&lt;EM&gt;ALL" with * in OFFR_ID&lt;BR /&gt;
 |replace "*ALL" with * in GCOR_ID&lt;BR /&gt;
 |replace "*ALL" with * in MDT_ID&lt;BR /&gt;
 |replace "*ALL" with * in MDT_CAMPAIGN_ID&lt;BR /&gt;
 |rename MDT_ID as "Offer ID", MDT_CAMPAIGN_ID as "MDT Campaign Id", OFFR_ID as "RC ID", GCOR_ID as "DOE ID",OFFR_STRT_DT as "Offer Start Date(MST)",OFFR_END_DT as "Offer End Date(MST)",CountryCode as "Country Code", OFFER_GOAL as "Offer Type/Goal"&lt;BR /&gt;
 | replace "&lt;/EM&gt;, Intl" with "*" in "Country Code"&lt;BR /&gt;
 |search Status="$OfferStatus$"&lt;BR /&gt;
 |rename CountryName as "Country Name", Status as "Offer Status" Redemption_Type AS "Redemption Type" CMCount AS "Eligibility Count"&lt;BR /&gt;
 |table  OfferName,  "Offer Status","Offer Start Date(Local)", "Offer Start Date(MST)", "Offer End Date(MST)",  "Offer Type/Goal" "Country Code"  "Eligibility Count" "MDT Campaign Id" "Offer ID" "RC ID" "DOE ID" "Redemption Type" couponLess&lt;BR /&gt;
           &lt;EARLIEST&gt;-90d&lt;/EARLIEST&gt;&lt;BR /&gt;
           &lt;LATEST&gt;now&lt;/LATEST&gt;&lt;BR /&gt;
         &lt;BR /&gt;
         100&lt;BR /&gt;
         true&lt;BR /&gt;
         none&lt;BR /&gt;
         row&lt;BR /&gt;
         true&lt;BR /&gt;
       &lt;BR /&gt;
     &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:10:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300924#M90621</guid>
      <dc:creator>nagar57</dc:creator>
      <dc:date>2020-09-30T01:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300925#M90622</link>
      <description>&lt;P&gt;Hi @nagar57&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;scrollbar_sample&amp;lt;/label&amp;gt;
  &amp;lt;row depends="$hide$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
      &amp;lt;style&amp;gt;
        #rk div [data-view="views/shared/results_table/ResultsTableMaster"]{
          overflow-y: auto !important;
          height: 300px !important;

        }
        #rk div [data-view="views/shared/results_table/ResultsTableMaster"] table{
        border-collapse: collapse !important;
          width: 10px !important;

        }
        #rk div [data-view="views/shared/results_table/ResultsTableMaster"] th {
          position: sticky !important;
          text-align: left !important;
          top: 0 !important;
        }
      &amp;lt;/style&amp;gt;
    &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&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 id="rk"&amp;gt;
        &amp;lt;title&amp;gt;Test&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal |table index, source, sourcetype&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;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;100&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&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;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Jul 2019 12:36:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300925#M90622</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-07-04T12:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300926#M90623</link>
      <description>&lt;P&gt;This is great. It worked like magic. Thanks a lot. &lt;BR /&gt;
Just a small thing I'd like to point out is I can see the rows getting scrolled up in the background of the table header which looks little odd. &lt;BR /&gt;
Can you suggest something to to make them not visible in the background?&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2019 19:04:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300926#M90623</guid>
      <dc:creator>nagar57</dc:creator>
      <dc:date>2019-07-06T19:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Fix table header and add vertical scrollbar using CSS and JavaScript</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300927#M90624</link>
      <description>&lt;P&gt;Hi @vnravikumar i wanted to do the same thing for a bar chart.... as in.. a bar chart with with bars of same width and a vertical scrolldown to go up and down to view all the bars... is it possible??&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 05:23:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fix-table-header-and-add-vertical-scrollbar-using-CSS-and/m-p/300927#M90624</guid>
      <dc:creator>preacher_15</dc:creator>
      <dc:date>2019-07-15T05:23:37Z</dc:date>
    </item>
  </channel>
</rss>

