Get Free Trial

Drill-Though Details dialog not modal or no event when opened/closed

Dennis Urech asked on November 2, 2017

When I click on on a chart (drill-through) to display the “Details” dialog it is NOT displayed as a modal dialog.  While it covers the grid, the toolbar is exposed and you can still click on various actions (which can cause all manner of unexpected behavior).  Can you make the dialog modal like the “Fields”, “Format”, .etc dialogs so that no toolbar actions are accessible until the  Details dialog is dismissed.
If you cannot make it modal, can you at least add events that indicate when it is opened and closed.  If these events existed, I could disable the toolbar buttons myself when the dialog is opened and re-enable them when it is closed

3 answers

Tanya Gryshko Tanya Gryshko Flexmonster November 3, 2017

Hello, Dennis,
Thank you for writing to us.
We would like to inform you that when Details dialog is opened, Toolbar is available on purpose. For example, you can add formatting via Format tab and see the result directly in the Details dialog. Also, starting from version 2.4 when Details dialog is opened and you click Export, Flexmonster will export not the whole grid but Details dialog. So Toolbar is quite useful with this dialog.
Please let me know if you have other questions.

Dennis Urech November 3, 2017

You might find it useful, but I want to prevent the usage of most of the toolbar actions. If there were a way to know when the Detail dialog was opened and closed (i.e. ‘detailsopened’ and ‘detailsclosed’ events), then I as the user could decide what (if any) of the toolbar actions I might want to disable.  Right now, I have no way to know when it is displayed

Dmytro Zvazhii Dmytro Zvazhii Flexmonster November 7, 2017

Hello Dennis,
Thank you for giving us some time. We have prepared a workaround for you. The idea is to trigger some function when the visibility of drillthrough window is changed. Here is the code repository – The example will look like the following: 
    callback: function(element, visible) {
       // do something here
    runOnLoad: false,
    frequency: 100
Please let us know if everyhting works fine for you.

Please login or Register to Submit Answer