Ashutosh Chauhan wrote:
> Hi,
>
> It seems that ex:showAll and ex:abbreviatedCount properties are not
> supported in table view. We are using exhibit in local intranet so
> transferring relatively large number(greater then 1000) of items in
> json is fine for us. But since each item contain an image, in a table
> view immediately 1000 requests are sent to server for these images and
> as a result requests queue up both at server as well as browser.
> Since I want to use table view and not tile view, I cant restrict the
> number of items shown initially. It would be nice if I could use
> those properties and present user only 20 items at start so all the
> images are shown initially and then he explore other items.
>
> Even if you can point me which code piece to look at to implement
> this, it would be a great help.
>
Hi Ashutosh,
Take a look in
http://static.simile.mit.edu/exhibit/api-2.0/scripts/ui/views/tabular-view.js
Find the method
Exhibit.TabularView.prototype._reconstruct
You'll have to override it with pretty much the same code, except that
the last for loop within that function is limited to 20.
David
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general