In the current example, update the app.component.html as below: (Included a button, along with PivotView)
<div class="row">
<ejs-pivotview #pivotview id='PivotView' [dataSourceSettings]=dataSourceSettings showTooltip='false' width='100%' height='300' [gridSettings]='gridSettings' [editSettings]='editSettings' (drillThrough)='drillThrough($event)'>
</ejs-pivotview>
<button type="button" (click)="close();">
Confirm?
</button>
</div>
And, Include the following on app.component.ts
close() {
DialogUtility.confirm({
title: 'Confirmation',
content: 'You have made changes. If you continue, your changes will be discarded. Do you want to cancel your changes?',
showCloseIcon: false,
closeOnEscape: false,
animationSettings: { effect: 'FadeZoom' }
});
}
Basically, when we hide a drill through dialog using CSS, other components like 'Confirmation' dialog windows will also not work.
So, how we can handle such situations?