Skip to main content

table.setdelegate(delegate)

Specifies a table’s delegate

Availability

Device, Agent

Returns

Table — the target itself

Parameters

Name Type Description
delegate Table The table’s new delegate object

Description

This method assigns the passed table as the target’s new custom delegate. The method always returns the target.

To remove a delegate, either assign the target with a new delegate, or pass null.

Example Code