Splunk Search

fix column to scroll

sfatnass
Contributor

how can i do if i want to fix column for scroll table.

i have html dashboard and i want to get something like that :
http://jsfiddle.net/DJqPf/7/

if anybody have any idea i'm open

thx

0 Karma

pal_sumit1
Path Finder

Did anyone find the solution for the problem?

0 Karma

sfatnass
Contributor

currentyl i get a great source code that can fix two column like i wanna.

but it work only for an id, and all table on dashboard contains only classname and it same for all table.
refer to :
https://answers.splunk.com/answers/438945/id-for-table-panel.html

0 Karma

gabriel_vasseur
Contributor

What do you mean? What's the problem you're trying to solve?

0 Karma

sfatnass
Contributor

i just want to fix the first column and header to let him static when i scroll on the right.

for example :

currently the panel on dashboard is normal like that
http://jsfiddle.net/DJqPf/5/

but i want to get something like that :
http://jsfiddle.net/DJqPf/7/

0 Karma

gabriel_vasseur
Contributor

I'm with you now. I have no idea if that's possible in Splunk, so hopefully someone else can help?

0 Karma

sheamus69
Communicator

It may be possible to achieve this by editing the CSS for the dashboard.

Stackoverflow has an article on how to do this using HTML with CSS which I suspect may be possible to implement with a Splunk dashboard, however I haven't played with CSS within Splunk myself, so more reading on the subject might be necessary?

http://stackoverflow.com/questions/1312236/how-do-i-create-an-html-table-with-fixed-frozen-left-colu...

0 Karma

sfatnass
Contributor

on your link the description is to create the html using right and left table.
but in splunk the html is already exist and we can just add css and javascript to add event and action on dashboard.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...