:: Home >>

setModel

Assigns the external model.

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

No comments yet.
Comments will appear on this page and in the main forum.

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