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
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...