hasEvent

checks whether the component has the specified event handler

boolean hasEvent(string name);
namestringthe event name, case-insensitive
booleantrue, if at least one handler was attached to the specified event. Otherwise, false

Example

var is_exit = mydata.hasEvent('onBeforeSelect');

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript web framework and page of javascript list product.