Developing for Splunk Enterprise

Panels to be appended to dashboard based on user selection in checklist in same mouse click order

New Member

My dashboard has 20 Panels with a depends on tag in XML. Based on user selection from a checkbox, a javascript sets and unsets the tokens that are used in depends on the class. Now 3 panels are displayed one below the other as per user selection in the checkbox, but these panels are in order of how they are in the XML file. Now, I want the order to be set based on the user click. I am looking for a js that sets panels in a way that the latest click from the checkbox, should make that pannel append on tap of other panels, pushing the existing panels below it.

To simply put, I want the user clicked selection from the checkbox to be the topmost panel in order of the dashboard.

Labels (1)
0 Karma