DHTMLX Docs & Samples Explorer

Index
dhtmlxdataview
API Methods

## attachEvent (evName, evHandler)

Required library edition:

Required library file: dhtmlxdataview.js

adds any user-defined handler to available events

- evName - event name;
- evHandler - user-defined event handler.

                  view.attachEvent(evName, evHandler);

Several handlers can be attached to the same event, and all of them will be executed.

Note: event names are case-insensitive.