On Wednesday, October 9, 2013 8:05:47 PM UTC+2, Massimo Di Pierro wrote: > > Should'd grid elements be ordered to allow pagination? > > definitely. assuming a set where
1 a 2 b 3 c 4 d you need a way to tell the backend that you want only the first two records. With no explicit ordering, some backends return the data as its stored (and it could be very well 4,2,3,1 on the first round and 3,2,4,1 on the second). There's no pagination (meaning a solid way to show [1,2] and then [3,4]) with no order by. You can safely assume that some backends do a random orderby (random here means "the path of least resistance") when fetching records. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

