I'm trying to get Table.onEndOfSnapshot to be called once a snapshot has been sent. In the Portfolio demo that comes with Lightstreamer (pages/demos/PortfolioDemo/portfolio.js), I inserted the following line:

Code:
table.setDataAdapter("PORTFOLIO_ADAPTER"); // first-level Data Adapter
table.setUnderDataAdapter("QUOTE_ADAPTER"); // second-level Data Adapter
table.setSnapshotRequired(true);
table.setPushedHtmlEnabled(false);
table.onEndOfSnapshot = function(itemPos, itemName) {
	alert('end of snapshot');
};
I was expecting to get an alert when the snapshot was sent. But nothing happens.

In the server's log file, I do see this:
Code:
portfolio1: snapshot sent
which is sent by the PortfolioDataAdapter Java class, right after it calls listener.smartEndOfSnapshot().

Does anyone know why onEndOfSnapshot isn't being called?