devlev1980
7/1/2019 - 10:56 AM

Add to Body Class when Dialog open

 constructor(@Inject(DOCUMENT) private document, private fb: FormBuilder,
                private dataService: PassDataFromTableService,
                private inputService: SearchInputService) {
    }
    
 onShiyuhLeHeder() {
    this.checkboxArray = [];
    this.isShowDialogShiyuhLeHadarim = true;
    this.document.body.style.overflow = 'hidden';
    this.showProgressBarComponent = true;
  } 
 onCloseDialog(event) {
    this.isShowDialogShiyuhLeHadarim = event;
    this.document.body.style.overflowY = 'visible';
    this.document.body.style.overflowX = 'hidden';
    this.isNotSelectedRow = true;
    this.showProgressBarComponent = false;
    this.dataBinding.rebind();

 }