Get Free Trial
Get Free Trial

event listener on DrillDown

Resolved
Jose Antonio Veintimilla asked 6 days ago

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 5 days ago

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
Jose Antonio Veintimilla 4 days ago

Solved.
 
Thank you.

Please login or Register to Submit Answer