Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Expandable/collapsible scripted fields in Dashboards

igor m November 4, 2020

We have a scripted field that is expandable/collapsible in filter, but seems like expand/collapse is not working in dashboards using the same filter. is it a bug or it is not supposed to work in dashboards?

simple example, expands in a filter, doesn't in dashboarddash2.PNGdash1.PNG:

String GetListHtmlOutput() {
String htmlHeader = ""

htmlHeader = htmlHeader + """
<div id="expander-with-replace-text-content" class="aui-expander-content">
What happens when you add a shiny new browser to a stack of already-disagreeing citizens? You’ll inevitably find some bugs.
</div>
<a id="replace-text-trigger" data-replace-text="Read less" class="aui-expander-trigger" aria-controls="expander-with-replace-text-content">Read more</a>

"""
return htmlHeader
}

GetListHtmlOutput()

 

 

0 answers

Suggest an answer

Log in or Sign up to answer