var click = ej.TreeView.prototype._KeyPress; ej.TreeView.prototype._KeyPress = function (e) { // {handle the custom event or method here} if (e.keyCode == 46) return false; else click.call(this, e); |
Please check with the given sample and let us know if you have further queries.
Regards,
Sasikala Nagarajan