Hi David,
Thanks for the reply.

exhibit.getDefaultCollection() itself seems to be not recognized.

Got the following from one of the discussions in the group.
Exhibit.TabularView.prototype._reconstruct = function () {
  var view = this;
     var collection = this._uiContext.getCollection();
     var database = this._uiContext.getDatabase();
     var currentSet = collection.getRestrictedItems();
 .........
}

This seems to be giving the expected result but I do not want to
_reconstruct() the views.  So, I tried the following...

Exhibit.TabularView._uiContext.getCollection();
Exhibit.TabularView.getCollection();
 Exhibit.TabularView.UIContext.getCollection();
Exhibit.getCollection();

None of the above worked.

Please help.
Regards,
Ravi.

On Thu, Mar 19, 2009 at 3:01 AM, David Huynh <[email protected]> wrote:

>
> chandu wrote:
> > Hi,
> >
> > database.getAllItems() gives all the loaded items.  Is there way to
> > get only those items which are resulted after the filtering.
> >
> Please try
>    exhibit.getDefaultCollection().getRestrictedItems()
>
> David
>
>
> >
>


-- 
A day is a wonderful blessing,
Either stormy or sunny,
It stands for hope,
Giving us another chance of what we call *L*I*F*E*.
Live a beautiful LIFE.

--~--~---------~--~----~------------~-------~--~----~
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