Hi Liviu,
Query: I would like to customize Select All message?
We have checked your
reported query and prepared the sample based on your requirement. Please refer
the below code snippet and sample link. We can achieve your requirement by accessing
the select all div element and adding the custom text.
[app.component.ts]:
onCreated(args) {
this.listBoxObj.element.getElementsByClassName('e-all-text')[0].textContent = "Processed";
}
onChange(args) {
if (args.event.currentTarget.classList.contains('e-selectall-parent')) {
var proxy = this;
setTimeout(function () {
proxy.listBoxObj.element.getElementsByClassName('e-all-text')[0].textContent = args.value.length === 0 ? "Processed" : "UnProcessed";
}, 10);
}
}
|
Sample link: https://stackblitz.com/edit/angular-5nve8z?file=app.component.ts
Could you please check the attached sample
and get back to us, if you need any further assistance on this.
Regards,
YuvanShankar A