:: Home >>

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

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

Documentation:

Recent changes:

2.5.0 - 2.5.2
2.5.2
2.5, 2.5.1
2.5.1
2.5
Release History
2.5
2.0.2
textToValue
textToData