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!

Get Agentic with Splunk Lantern: Connect to Cisco Cloud Control, Transform ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

July Community Events: Master ITSI 5.0 & Automate Splunk

Struggling with alert fatigue or feeling like you're spending more time on infrastructure maintenance than ...

New Release of Federated Search: Bringing Splunk Analytics to More of Your Data

Organizations today are generating more data than ever and storing it across cloud object stores, data lakes, ...