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 at http://groups.google.com/group/web2py?hl=en.