Skip to main content

table.setdelegate(delegate)

Specifies a table’s delegate

Availability

Device + Agent

Parameters

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

Returns

Table — the target itself

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