:: Documentation >>

row count

Sets or retrieves the number of grid rows.

Syntax

var value = obj.getRowCount(); 
obj.setRowCount(value);        

obj.onRowCountChanging = function(value){...}; 
obj.onRowCountChanged = function(value){...}; 
obj.onRowCountError = function(value){...}; 

Defined in

row model

Examples

var myCells = [
    ["Cell text", "123", "5/18/2004"],
    ["More...", "456", "1/12/2006"]
]

var obj = new AW.UI.Grid;
obj.setCellText(myCells); 
obj.setColumnCount(3); 
obj.setRowCount(2); // show 2 rows
document.write(obj);

See also

Row model: indices, position, offset, selected, state, height
Count properties: column, header, footer

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