"Randall" <[EMAIL PROTECTED]> writes:

> The first is SQLAlchemy support.  paginate.py uses SQLObject's
> SelectResults to order the result set.  SA has similar functionality in
> an extension called SelectResults which can be used as a near drop in
> replacement.

This will be gladly welcome!  I was going to look at this as soon as I could,
but I confess that it might take a while for that...

> The second is session support.  The URI's get long and complex, so if
> sessions are in use, only the change information has to be passed in
> the URI and everything else (like the data query params) can be stored
> in a session.  I've currently got it as an option in the decorator
> params. @paginate(..., use_session=True).   One thing I'm not sure
> about yet is how to keep session data for the DataGrid widget from
> overwriting another paginating DataGrid instance's session data.  Right
> now I'm using the id (id(func)) of the func passed into the decorator's
> "decorated" function.

Hmmm...  This isn't nice either.  I can open two tabs on the same grid to work
with it -- e.g. making comparisons -- and it would probably be a problem.

Using this kind of static data when one can have multiple accesses to
something doesn't sound like it will work to me.  I can't say anything,
though, since I haven't yet used sessions here (don't have the need for it).

> Third.  All field sorting.  Instead of only sorting by one field, each
> sorting selection will build on the last.

What do you mean?  Sorting by multiple fields?  Or clicking a column to sort
data?  And what happens with data on screen: will it all change or just the
current set being viewed?  (I mean, if I am seeing records 1-10 sorted by
firstname and somehow when sorting by lastname I get 14-5, will it show me
14-5 or will it sort 1-10 using the selected column?)


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to