Here's the code I came up with, which is very close to the one in the link above, for anyone who's interested:
functiononClick(e) {
varelement = e.target.closest(".k-split-button");
if(element) {
varpopup = element.data("kendoPopup");
if(popup) {
popup.open();
}
}
}
Thanks,
Shawn A.
0
Dimitar
Telerik team
answered on 20 May 2019, 05:45 AM
Hi Shawn,
You are indeed correct that the Toolbar's click event could be used to determine if the SplitButton wrapper is clicked, and then open its popup. I think that this is a good example that could be added in the Knowledge Base section in the documentation, thus I have added a task to our backlog for creating the resource.
Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.