:: Forum >> Version 2 >>

Retreive XML element/node name of grid column

I load XML data with a random number of columns in a grid. How can I retreive the element/node name of a specific column in the onCellValidated event?
Chris Janssen
Tuesday, January 22, 2008
You can use getCellModel() method to get access to the XML datasource and then getNode() method -

grid.onCellValidated = function(textcolrow){
    var 
table this.getCellModel();
    var 
node table.getNode(colrow);
    
alert(node.nodeName);
}
 
Alex (ActiveWidgets)
Tuesday, January 22, 2008



This topic is archived.

Back to support forum

Forum search