The getEventAvailableCount() method gets the current count of available events within the context current search job, the event count is accurate even if a module such as FlashTimeline has narrowed the time range selected.
count = getEventAvailableCount()
|
Integer |
The number of events available within the context search job. |
var context = this.getContext();var search = context.get("search");
var count = search.getEventAvailableCount();
alert('count = ' + escape(toString(count)));