:: Documentation >>

data Model

Provides the content to display inside the grid cells.

Syntax

var model = obj.getDataModel();

or

obj.setDataModel(model);

Properties

countSets or retrieves the number of data items (rows).
indexRetrieves the data item index (row).
textAllows to specify the text for the grid cells.
imageAllows to specify the image to display in the grid cells.
linkAllows to specify the link URL for a cell.
valueProvides the value to be used for sorting the data.

See Also

Active.Controls.Grid, defineModel Method

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