Splunk Search

How to create a table column specific column width adjustment

DataOrg
Builder

I have around 10 columns in table and want to set the first 3 columns to 10% width and i used below method but its not applying the column width correctly. Need help in fixing the error

 

<row>
    <panel>
      <html depends="$alwaysHideCSSPanel$">
        <style>
          #tableColumWidth table thead tr th:nth-child(1),
          #tableColumWidth table thead tr th:nth-child(2,
           #tableColumWidth table thead tr th:nth-child(3)
{
            width: 10% !important;
            overflow-wrap: anywhere !important;
          }          
        </style>
      </html>
      <table id="tableColumWidth">

 


 

Labels (1)
Tags (4)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

See updated response to your other similar question

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

See updated response to your other similar question

0 Karma

megha0794
New Member

Hello,

Im noticing a similar issue in my dashboard panel. I want to adjust the width of one specific column because there is a lot of content to be displayed. The number of columns here are pretty high(around 22). So there is a scroll bar to move to the right to see the rest of the columns. In this case, even when I assign width  with a specific px or %, it doesnt reflect. But when i reduce my number of columns and scrollbar doesnt appear, it adjusts the width as specified. Please suggest how to work around this.

Regards,

Megha

0 Karma
Get Updates on the Splunk Community!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...