callEvent

calls an inner event

boolean callEvent(string name,array params);

Parameters

namestringthe event name, case-insensitive
paramsarrayan array of the event related data

Returns

booleanfalse, if some of the event handlers return false. Otherwise, true

Example

//invokes triggering handlers of the 'onResize' event
var check = dtable.callEvent("onResize", [...]);

Details

Normally, events are called automatically and you don't need to use this method.

See also
Back to top