:: Documentation >>

count

Number of rows in the data set.

The data rows are obtained by running XPath expression specified with setRows(xpath) method. getCount() method is used by the grid control to get the total number of grid rows.

Syntax

var value = obj.getCount(); 
obj.setCount(value);        

Examples

var table = new AW.XML.Table;
table.setURL("data.xml");
table.setAsync(false);
table.request();
alert(table.getCount()); // show the number of rows

See also

data property, rows property

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