We have a drilldown dashboard, where one more panel appears after we click a value of the first panel ( used tokens).
Now after we have viewed the additional panel produced, how can we close that drilldown panel to have only the first panel in the dashboard?
You need to have some other action (a click somewhere else or when the 'Submit' button is pressed) unset
the token that causes the other panel to open. You could even create a new button to do this.
You need to have some other action (a click somewhere else or when the 'Submit' button is pressed) unset
the token that causes the other panel to open. You could even create a new button to do this.
Thanks @woodcock
Any idea how the "click somewhere else" option would work?
Thanks a lot, it worked like a wonder. I used the below format
<choice value="1">Close Drilldown</choice>
<default></default>
<change>
<condition value="1">
<unset token="searchWhenChanged"></unset>
</condition>
</change>
</input>
Would a 'Reset Drilldown' button work?
<row>
<panel>
<html>
<button class="btn" data-token-json="{ "drilldownToken": null}">Reset Drilldown</button>
</html>
</panel>
</row>
when i click on reset drilldown..nothing happens
Is it possible to provide the xml config?