:: Documentation >>

setModel

Assigns the external model.

null

Syntax

obj.setModel(name, value);

Parameters

name (string) - model name
value (object) - external model

Example

var table = new AW.XML.Table;
obj.setModel("cell", table);

or

obj.setCellModel(table);

See also

defineModel, getModel methods

Comments

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5