3.2.0

what about get all row count??

what about get all row count?? I do'nt get this data!!
Jack (chinese wuxi)
February 23,
Jack,

can you please post an example how exactly you are trying to retrieve this? In case you are using XML data model - it is asynchronous, so you will only get row count after the data is loaded.
Alex (ActiveWidgets)
February 23,
Thank You very much!
Jack
February 24,
var table = new Active.XML.Table;
table.setURL("/bisheroot/college.servlet");
table.setColumns(["id", "name"]);
table.request();
alert(table.getCount());
it returns 0,how should i do to get the real row count in using xml data model
iDay
May 26,
The model Active.XML.Table retrieves data asynchronously. So if you ask for the row count before the data is returned - it will be 0.
Alex (ActiveWidgets)
May 28,
What if you are not using a table? I am using an array, that gets loaded into the grid. Is there a method tied to the grid that will get the total rows in the grid?

Thanks, and very nice product!
Brett
November 9,

This topic is archived.

See also:


Back to support forum