Skip to main content

getWidget()

returns the widget attached to a layout cell

getWidget(): any;

Returns:

An object of a widget attached to a cell.

Example

// id - the id of a cell a widget is attached tovar widget = layout.getCell("id").getWidget();