PDA

View Full Version : Row Count in Javascript


jonathan176
02-14-2009, 01:27 AM
Am I missing something, but I cant figure out how to access the row count of a data source in javascript. I would like to do something like this. I would appreciate any help.


dsGallery = new Spry.Data.XMLDataSet();
dsGallery.addObserver({ onPostLoad: function(ds, type) {

alert(dsGallery.rowCount)

}
});