Created
September 5, 2019 00:49
-
-
Save oleersoy/369a7484e3626b42dc07d5459f8c9fec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let o1:Observable<boolean> = this.cb1.valueChanges; | |
let o2:Observable<boolean> = this.cb2.valueChanges; | |
merge(o1, o2).subscribe( v=>{ | |
this.columnDefinitions[0].hide = this.cb1.value; | |
this.columnDefinitions[1].hide = this.cb2.value; | |
console.log(this.columnDefinitions); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment