Brannon King wrote:
> When using the tabular view, how does one restrict which item types get
> shown in the grid? I have five item types in my JSON data: Person, Family,
> Marriage, Birth, and Death. Person items include references to the other
> four. I only want to show Person-type items in my Tabular view. How is it
> done? My columns all reference members of Person only. Thanks for your time.
>   
Yes, there is a way.

In Exhibit, each facet or view is connected to a "collection". The facet 
filters that collection and the view shows items in that collection. By 
default, there is a "default" collection that contains all items in the 
exhibit. Also by default, each facet or view is connected to that 
"default" collection.

To redefine the default collection, do something like this

    <html>
       ...
       <body>
          <div ex:role="collection" ex:itemTypes="Person"></div>
          ...

That's all needed to do what you want.

David
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to