Skip to main content
Version: 10.1

$.udb(ds).off()

note

This article is about the off() function of the DataSourceContainer object.

$.udb(ds).off()

Removes a handler from an event (in the same way as in the jQuery implementation).

Returns the 'this' object.

Syntax

$.udb( *ds* ).off( *eventType*, *handler*( *event* ) )

The optional ds is a data source selector.

The required eventType is a string that identifies the event to unbind. The possible values for the 'eventType' parameter are described in the Events reference section.

The required handler(event) is a function that identifies the entry to be removed.

Example

function OnSelect(event, r) {al
alert(Row: ' + r.index());
};
$.udb('EMP').on('rowselect', OnSelect);
$.udb('EMP').off('rowselect', OnSelect);