Just added: multiple grids per page is supported now! Enjoy, Nathan
On Dec 11, 12:35 pm, "mr.freeze" <nat...@freezable.com> wrote: > No javascript needed. I have plans to add ajax hooks for inline > editing but will make sure that it degrades gracefully when javascript > is disabled. > > On Dec 11, 12:27 pm, Thadeus Burgess <thade...@thadeusb.com> wrote: > > > Nathan, does your grid rely on javascript? If no javascript is > > required, that is one reason to use it rather than datatables :) > > > -Thadeus > > > On Fri, Dec 11, 2009 at 10:35 AM, mr.freeze <nat...@freezable.com> wrote: > > > Here is a list of changes: > > > > * Allows setting of 'id' for the table > > > * No Additional TBODY when header included > > > * THEAD includes THs not TDs > > > * No odd '%s' in Class > > > * PEP-8 cleanup > > > * row_created event > > > > On Dec 11, 9:07 am, "mr.freeze" <nat...@freezable.com> wrote: > > >> datatables requires a strictly formatted table,i.e. correct > > >> thead,tbody,tfoot,etc. declaration. Fran's changes correct formatting > > >> errors in the table so you *could* use WebGrid to generate a table > > >> that can be used with datatables (SQLTABLE may be a better choice > > >> though). WebGrid and datatables have no association. WebGrid is a > > >> server based implementation and datatables is client based. Hope that > > >> clears thing up. > > > >> On Dec 11, 5:54 am, villas <villa...@gmail.com> wrote: > > > >> > Hi Benigno, > > >> > DataTables plug in looks good. I thought the main advantages of Mr > > >> > Freeze's version was (a) server pagination (b) avoid including another > > >> > jquery file 60kb. If DataTables plug also does (a), then maybe the > > >> > only difference is (b) and eye candy. > > > >> > Perhaps Mr Freeze could assist by briefly summing up what the > > >> > essential differences are between his Webgrid and DataTables. With > > >> > perhaps some indication as to where one would favour one or the other. > > >> > This could save a lot of time. > > > >> > I am also still not clear about the 'DataTables Compliant'; do the two > > >> > grids interact or coexist in some way? > > > >> > Thanks. > > > >> > On Dec 11, 8:43 am, Benigno <bca...@albendas.com> wrote: > > > >> > > Villas, > > > >> > > There is a nice jquery plug-in called datatables, check it > > >> > > athttp://www.datatables.net/ which basically means that you can > > >> > > create > > >> > > a grid with server pagination in minutes, and make it look beautifull > > >> > > with datatables all in one go. I guess thats what Mr Freeze is > > >> > > refering to anyway. > > > >> > > On Dec 11, 3:33 am, villas <villa...@gmail.com> wrote: > > > >> > > > Hi Mr Freeze, > > > >> > > > Re: 'datatables compliant' > > > >> > > > Could you describe what that means? Are there any differences in > > >> > > > the > > >> > > > usage? > > >> > > > I had a quick look at the code and the webslice page but it wasn't > > >> > > > obvious to me what had changed. > > > >> > > > -David > > > >> > > > On Dec 11, 12:04 am, "mr.freeze" <nat...@freezable.com> wrote: > > > >> > > > > Thanks to Fran for several recent improvements. The WebGrid is > > >> > > > > now > > >> > > > > datatables compliant (you must disable the add_links). > > > >> > > > >http://www.web2pyslices.com/main/slices/take_slice/39 > > > >> > > > > On Dec 5, 10:11 am, "mr.freeze" <nat...@freezable.com> wrote: > > > >> > > > > > I added an example to the slice of how to customize the footer > > >> > > > > > (just > > >> > > > > > before the screenshot). > > > >> > > > > > On Dec 5, 9:20 am, villas <villa...@gmail.com> wrote: > > > >> > > > > > > Hi Mr Freeze, > > > >> > > > > > > I've just been playing around with it and I was really > > >> > > > > > > impressed. It > > >> > > > > > > seems stable and so I'm already making plans to use it. > > > >> > > > > > > I need to right-justify numbers, format numbers, grand > > >> > > > > > > totals, use > > >> > > > > > > icons etc. I'm not sure about using the lamba functions yet. > > >> > > > > > > If you > > >> > > > > > > get time to provide an extra note on that, an example would > > >> > > > > > > be good. > > > >> > > > > > > However, you've left us all the 'hooks' - I think it should > > >> > > > > > > be easy to > > >> > > > > > > customize. > > > >> > > > > > > Many thanks! > > >> > > > > > > D > > > > -- > > > > You received this message because you are subscribed to the Google Groups > > > "web2py-users" group. > > > To post to this group, send email to web...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > web2py+unsubscr...@googlegroups.com. > > > For more options, visit this group > > > athttp://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.