Dashboards & Visualizations

how to freeze 1st column

avikc100
Path Finder

this is my splunk query:

avikc100_2-1709065250711.png

 


this is output:

avikc100_0-1709065118463.png


how can I freeze this 1st column where interface names are showing.
problem is when dragging to right then can not see the interface name

avikc100_1-1709065178383.png

below is source code:

avikc100_0-1709065558757.png

 

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @avikc100,

for my knowledge it isn't possible to block a column using the scroll bars as on Excel.

Ciao.

Giuseppe

View solution in original post

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@avikc100  - You can add custom CSS to your simple XML dashboard to achieve this.

 

Dashboard XML Source Code

 

<form>
  <label>Fixed Column Sticky</label>
  <row depends="$tkn_never_show$">
    <panel>
      <html>
        <style>
          #myTable table td:nth-child(1) {
              position: fixed !important;
          }
          #myTable table th:nth-child(1) {
              position: fixed !important;
          }
        </style>
      </html>
    </panel>
  </row>
  <row>
    <panel>
      <table id="myTable">
        <search>
....

 

 

If position: fixed doesn't work, you can try with position: sticky;

 

I hope this helps!! If it does kindly upvote!!!

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @avikc100,

for my knowledge it isn't possible to block a column using the scroll bars as on Excel.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...