Hey Dmitry, I agree with Robert, you're better off picking a few libraries and rolling your own. I've found that I always run into some limitations with libraries that provide everything out-of-the-box.
That being said, one good library for server-side table rendering is webhelpers <http://webhelpers.readthedocs.org/en/latest/contents.html> - primarily the webhelpers.paginate module. However, if you are able to use Javascript and don't mind some client-side rendering, Datatables <https://www.datatables.net/> is by far the best library out there. On Wed, Sep 30, 2015 at 1:07 AM, 'Robert Forkel' via pylons-discuss < [email protected]> wrote: > From my experience, this kind of middleware mediating between the data > source and a JS library is > 1. hard to maintain - library versions on both ends may change all the > time, > 2. often limited in capabilities, > 3. not that much code anyway > so that I guess many people do what I did and roll their own. In my case, > I use jquery DataTables [1] for the front end, sqlalchemy to talk to the > database and have a custom DataTable class [2] (plus a view [3] and a > template) in between. > That's quite a bit of wiring, but I guess not much more than configuration > of a fairly capable gridview component would require. > > [1] https://www.datatables.net/ > [2] > https://github.com/clld/clld/blob/master/clld/web/datatables/base.py#L320 > [3] > https://github.com/clld/clld/blob/master/clld/web/views/__init__.py#L118-L148 > > On Wed, Sep 30, 2015 at 5:26 AM, Dmitry Komarov <[email protected]> wrote: > >> At the pyramid freenode IRC I was advised to use js libraries for grid >> rendering on the client. >> But if you don't mind I would like to listen about server-side options >> too : ) >> >> -- >> You received this message because you are subscribed to the Google Groups >> "pylons-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/pylons-discuss. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/d/optout. > -- Vincent Catalano Software Engineer and Web Developer, (520).603.8944 -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
