:: Documentation >>

data

Cell data.

Grid control uses getData(col, row) method to get the cell data.

Syntax

var value = obj.getData(col, row); 
obj.setData(value, col, row);        

Parameters

col (string) - column index
row (string) - row index
value (string) - data value

Examples

var table = new AW.XML.Table;
table.setURL("data.xml");
table.setAsync(false);
table.request();
alert(table.getData(0,0)); // show the first cell text

Remarks

Internally getData() method uses the text value of the XML node returned by getNode() method.

In AW 2.0 setData() method is not implemented yet.

See also

count property, node property

Comments

setData in 2.0? HoseHead (3)

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