Hi Annet! The tablesorter plugin works well, but my favourite is the
datatables plugin(http://plugins.jquery.com/project/DataTables) I
wanted a solution that did not always make trips to the database
Dag!
On Oct 29, 6:24 pm, annet <[EMAIL PROTECTED]> wrote:
> I have got the following table in one of my views:
>
> <table>
> <tr>
> <th>bedrijfsnaam</th>
> <th>straatnaam</th>
> </tr>
> {{for club in clubs:}}
> <tr>
>
> <td>{{=A(club.bedrijf.bedrijfsnaam,_href=URL(r=request,f='clubdetails?
> id=%s'%club.bedrijf.id))}}</td>
> <td>{{=club.adres.straatnaam}}</td>
> </tr>
> {{pass}}
> </table>
>
> I would like the table to be sortable and to paginate.
>
> I had a look at the pagination examples at AlterEgo, but I'd rather
> use jQuery to accomplish these functionalities. I visited jQuery.com,
> and wondered whether the jquery.js file in the /static folder of my
> application contains the same code as the one I can download from the
> jQuery site.
>
> Furthermore, there is a reference to tablesorter.com on the jQuery.com
> site. Tablesorter provides both sorting and pagination. I wonder
> whether the tablesorter plugin works well in web2py and whether there
> are any downsides to using it.
>
> Best regards,
>
> Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---