I strongly suggest you install plugin_wiki from cube2py and do

{{=plugin_wiki.widget(db.yourtable,colnames=[.....])}}

It has much more funcitonality.

Massimo

On Jul 19, 1:14 pm, sarsar <sarsara...@gmail.com> wrote:
>      Hi
>       I found inside brasilian web2py list that datatable plugin uses
> SQLtable and there is no labels for the fields . If it is true ( i
> mean if i have understanded corectly the google translation) then
> there is no possibility to do what i want .
>      So the question changes and becomes . Is there any way to pass
> data to the datatable plugin ? I believe that there must be a way .
> Many have writen in the list that they are using it . Code like the
> following must have a way to be inserted .
>
> Any advice or help .
> Thanks
>
> Sarados
>
> On 19 Ιούλ, 16:45, sarsar <sarsara...@gmail.com> wrote:
>
> > Hi , i solved one of my problems , i changed texts inside the
> > datatable js file and now i have most messages in my language . It is
> > not correct procedure but it works for me . Normally i should have
> > obtain a file and instruct the module to use it . More details at
> > datatables' site "" INTERNATIONALISATION """ .
> >    My second problem is if i can instruct datatable plugin to accept
> > code like this
>
> > $(document).ready(function() {
> >         $('#example').dataTable( {
> >                 "aoColumns": [
> >                         { "sTitle": "My column title" },
> >                         null,
> >                         null,
> >                         null,
> >                         null
> >                 ]
> >         } );} );
>
> > I have seen **attributes and '_class' inside file plugin_datatable ,
> > but no idea what is next . I have read almost all messages inside the
> > list but i have found nothing concerning this topic .
>
> > Any advise?
>
> > Thanks in advance
> > Sarados

Reply via email to