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.
data <- from JSP
var obj = new AW.UI.Grid;
//create ActiveWidgets data model - XML-based table var table = new AW.XML.Table;
//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.