:: Forum >>
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.
data <- from JSP
var obj = new AW.UI.Grid;
obj.setHeaderText(myHeaders);
var table = new AW.XML.Table;
table.setXML(data);
obj.setCellModel(table);
obj.setColumnCount(4);
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
Thursday, June 29, 2006
obj.setRowCount(table.getCount());
Paulo Cesar Silva Reis (PC from Brazil).
Thursday, June 29, 2006
Thanks. This fixes the problem.
Raj
Thursday, June 29, 2006
This topic is archived.
Back to support forum
Forum search