Hi Mark, all,

I'm using just the Timeline bit. Sorry, I should have mentioned that.
The example I'm working on is here: http://eoi.oecdco.de/timeline.html
It's mainly cosmetic, but I'd like to update this number when a user
filters on one of these conditions.

cheers,
Jakob.



On Thu, Sep 9, 2010 at 02:27, mleden <[email protected]> wrote:
> Hi Jakob,
>
> If you're using the Timeline extension with Exhibit this should do the
> trick:
>                exhibit.getCollection("Event").getRestrictedItems().size();
> where "Event" is your collection
> or if you don't have named collections
>                exhibit.getDefaultCollection().getRestrictedItems().size();
>
> HTH,
> -Mark
>
>
> On Sep 8, 2:49 pm, Jakob Fix <[email protected]> wrote:
>> Hi,
>>
>> I spent an hour or so trying to figure out how to get the number of
>> events that were painted after I applied a filter, but couldn't find a
>> appropriate method.
>>
>> tl.getBand(0).getEventSource().getCount()
>>  returns the total number of events available in the event source,
>> irrespective of any filtering, so this is not what I want.
>>
>> thanks for any pointers,
>> Jakob.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "SIMILE Widgets" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/simile-widgets?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to