<?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 make first two columns and header of those two sticky in a table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-first-two-columns-and-header-of-those-two-sticky-in/m-p/652997#M225644</link>
    <description>&lt;LI-CODE lang="markup"&gt;          #myTable th:nth-child(2), td:nth-child(2){
            left: 60px !important;
            position: sticky;
            z-index: 9998;
          }&lt;/LI-CODE&gt;&lt;P&gt;The left position has to take into account the width of the first column + two lots of padding. You may also find that it may depend on the screen resolution being used.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2023 06:46:43 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-08-03T06:46:43Z</dc:date>
    <item>
      <title>How to make first two columns and header of those two sticky in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-first-two-columns-and-header-of-those-two-sticky-in/m-p/652978#M225638</link>
      <description>&lt;P&gt;I am trying to make first two columns of a table output to be sticky...I can do one by using&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; &amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
          #myTable th:first-child,td:first-child {
left:0;
z-index: 9999;
position: sticky;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The above code works for one column on the left..But I want two to be sticky&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 20:56:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-first-two-columns-and-header-of-those-two-sticky-in/m-p/652978#M225638</guid>
      <dc:creator>power12</dc:creator>
      <dc:date>2023-08-03T20:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to make first two columns and header of those two sticky in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-first-two-columns-and-header-of-those-two-sticky-in/m-p/652997#M225644</link>
      <description>&lt;LI-CODE lang="markup"&gt;          #myTable th:nth-child(2), td:nth-child(2){
            left: 60px !important;
            position: sticky;
            z-index: 9998;
          }&lt;/LI-CODE&gt;&lt;P&gt;The left position has to take into account the width of the first column + two lots of padding. You may also find that it may depend on the screen resolution being used.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 06:46:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-first-two-columns-and-header-of-those-two-sticky-in/m-p/652997#M225644</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-03T06:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to make first two columns and header of those two sticky in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-first-two-columns-and-header-of-those-two-sticky-in/m-p/653104#M225686</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; I tried the code but while scrolling I see only second column moving to right while scrolling to right&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 19:51:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-first-two-columns-and-header-of-those-two-sticky-in/m-p/653104#M225686</guid>
      <dc:creator>power12</dc:creator>
      <dc:date>2023-08-03T19:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to make first two columns and header of those two sticky in a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-first-two-columns-and-header-of-those-two-sticky-in/m-p/653106#M225687</link>
      <description>&lt;P&gt;This worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
          #myTable th:first-child,td:first-child {
left:0;
z-index: 9999;
position: sticky;
}
            #myTable th:nth-child(2), td:nth-child(2){
            left: 110px !important;
            position: sticky;
            z-index: 9998;
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 03 Aug 2023 19:56:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-first-two-columns-and-header-of-those-two-sticky-in/m-p/653106#M225687</guid>
      <dc:creator>power12</dc:creator>
      <dc:date>2023-08-03T19:56:05Z</dc:date>
    </item>
  </channel>
</rss>

