Hi liu,
Query#:- How can I deselect all headers when they are
selected
From your query we suspect that you need to deselect the headerCheckbox
on external button click. So we suggested to use this workaround to achieve
your requirement.
Refer to the code below:-
|
App.Component.ts
refreshCheckbox() {
document.getElementsByClassName('e-treeselectall')[0].click();
}
|
Sample link:- https://stackblitz.com/edit/angular-3bzb3v-qdp995?file=main.ts,app.component.ts
Note:-
Attached
video files not related to reported query.
If your requirement is different from above or misunderstood
your query, please share detailed Explanation/Video Demo to proceed
further.
Regards,
Farveen sulthana T