Flexmonster MCP Server is here! Connect your ✨AI assistant to our documentation. Get started
+

event listener on DrillDown

Resolved
Toni Veintimilla Jose Antonio Veintimilla asked on December 3, 2019

Good Morning.
I need to manage the event click (event listener) on the X to close the drilldown detail of a cell. I need a function to be launched when the detail drillDown is closed.
Can you help me with this?

2 answers

Public
Illia Yatsyshyn Illia Yatsyshyn ⋅ Flexmonster ⋅ December 4, 2019

Hello,
 
Thank you for your question.
 
The current version of Flexmonster does not provide an event that would be triggered after the drill-through pop-up window is closed.
 
As a workaround, our team kindly recommends using Jquery to attach a handler to the event for the desired element.
 
The code should look similar to the following:

$(document).ready(function () { 
$("body").delegate("#fm-drillthrough-view > div.fm-ui-element.fm-ui.fm-header-container > a", "mouseup", function () {
  //body of the desired function here
});
})

 
Please, check out an example we have prepared for you.
 
You are welcome to contact us in case any additional questions arise.
 
Best Regards,
Illia

Public
Toni Veintimilla Jose Antonio Veintimilla ⋅ December 4, 2019

Solved.
 
Thank you.

Please sign in or register to submit your answer