Reference to the XML node.
This is internal property which returns reference to the XML node according to the specified XPath expressions for columns and rows and also column and row indices.
getNode()
method could be used to retrive additional attributes for the grid cell (see example below).
var value = obj.getNode(col, row);
col (string) - column index
row (string) - row index
The following example shows how to use getNode() method to retrieve additional cell attributes (for example, image code)
var table = new AW.XML.Table;
table.setURL("data.xml");
// add new method for the cell image
table.getImage = function(col, row){
// image code sent in 'image' attribute of the same cell
return this.getNode(col, row).getAttribute("image");
};
table.request();