Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
Get Free Trial

event listener on DrillDown

Resolved
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
Jose Antonio Veintimilla December 4, 2019

Solved.
 
Thank you.

Please login or Register to Submit Answer