row count in XML table
I am facing issue setting row count. I am using AW.XML table, and the xml is retrieved as a String object from a JSP. I have to explicitly set the column count and row count for the data to show in the grid. I know the column count that needs to be displayed, but the row count depends on the xml data.
Is there a way that i can get the row count from the table after setting the xml to it? I've tried obj.getRowCount(); with no luck.
Thank you for helping.
Raj
data <- from JSP
var obj = new AW.UI.Grid;
obj.setHeaderText(myHeaders);
//create ActiveWidgets data model - XML-based table
var table = new AW.XML.Table;
table.setXML(data);
obj.setCellModel(table);
obj.setColumnCount(4);
//it wont work with out the row count
//obj.setRowCount(1000); <------ issue
Is there a way that i can get the row count from the table after setting the xml to it? I've tried obj.getRowCount(); with no luck.
Thank you for helping.
Raj
Raj
June 29,