2 messages in com.googlegroups.google-mashup-editorProblems Using Paging
FromSent OnAttachments
Reto Meier21 Aug 2007 02:25 
Jason23 Aug 2007 00:10 
Subject:Problems Using Paging
From:Reto Meier (reto@gmail.com)
Date:08/21/2007 02:25:03 AM
List:com.googlegroups.google-mashup-editor

Here's another issue I encountered when writing My Travel Map.

I would like to use paging to limit the number of trips that are displayed in the My Travel list. I've got that working but have run across two issues.

1) When I sort the list using a sort tag, only the items already visible on the current page are sorted. Is there a way to apply the sort to the full list so that the items currently visible are determined by the sort order? For example, if I sort by date and then reverse it I'd expect completely different items on the current page.

2) I use the same data source to populate my list and to draw the lines on my map. I want to page the list to make it more easily readable, but I always want to draw all the lines on the map. Is there a way to apply the paging ONLY to one data consumer so that it doesn't affect any other consumers? I've tried defining the data source separately using the data tag and then referencing that via the list and JavaScript but the paging seems to trickle back up to the underlying source.