Hi Vinícius,
Thanks for the update.
We are happy that your previous requirement has fulfilled.
And in mobile mode, we have prevent the click event in source end when we disabled the allowAdding property. If we want to add click event for this add button, we could achieve by making use of actionComplete event like below,
public onActionComplete(args: ActionEventArgs) {
if (args.requestType === "toolBarItemRendered") {
EventHandler.add(document.querySelector(".e-add"), "click", this.addClick.bind(this));
}
}
And the same we have prepared the below sample.
In the above sample, we have added the custom event for the add button. Kindly check the above sample and get back to us if you would require any further assistance.
Regards,
Vengatesh