Search code examples
iccubeiccube-reporting

How to create pop-up widgets and filters in icCube Reporting version 6.5?


How to create menu’s & filters that appear and disappear by pressing a button? The icCube 5.x demo showed how to have widgets appear and disappear on a button click. This technique has been used by me in project dashboards (see image).

How could the same be achieved in the latest icCube reporting version (6.5)?

Images & how it works:

  • press filter icon -> filters and embellishments appear
  • press X icon -> fall disappears again

example pop-up functionality


Solution

  • In the current version there is no native support for popup widgets, but you could achieve the same functionality by using a JS action.

    Attach a CSS class to the widget and use toggle functionality. I've created an example report that demonstrates how it works: https://drive.google.com/open?id=1z7xjfcY-G8rH8KJCcQb9XGUJk37ax1Q7