Getting Data In

Row expansion in table to expand and collapse through button click

DataOrg
Builder

I am looking for an solution for table row expansion and collapse through with button click.

if expand button is clicked it should expand all the rows in table and same vice versa for collapsing.

How to do it with javascript?. please help me with it.

Labels (2)
Tags (2)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

Have you looked at the Splunk Dashboard Examples app - it gives lots of examples of how to do things in dashboards, either through standard techniques or Javascript.

https://splunkbase.splunk.com/app/1603/

 

0 Karma

DataOrg
Builder

@bowesmana Yes i had looked over it , i could see row expansion example but i here i want to do it with button click the row expansion and collosion .

0 Karma

bowesmana
SplunkTrust
SplunkTrust

Pretty sure you can combine some of the examples to get where you want to get to - using tokens from button clicks - there is a button click/token set example - and the expansion example should help you get there.

 

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...