Collapsible Group Box calling Microflow

Hi, Is there anyway to call a Microflow when you expand a collapsible group box?  I have a Groupbox and you can click on the small arrow on the right to expand it, but I then want to load some data that would appear in a listview within that expanded group box.  I can see how to do it so am wondering if I am missing something or if there is something like a Java action that can happen. Thanks
1 answers

With some javascript in a javascript widget you can attach an onclick function to the header of the groupbox, or the expand icon. Then trigger a microflow as described in the documentation of the client api.