I have an error in my latest post. {{=plugin_wiki.widget('jqgrid',db.yourtable,colnames=[.....])}}
The jqGrid widget has a button in bottom-left corner that opens a popup search box. It is less user-friendly than datatable but allows more precise construction of search criteria and works via ajax, i.e. with arbitrary large amount of data. On Jul 19, 4:59 pm, sarsar <sarsara...@gmail.com> wrote: > Thanks a lot . Just for learning , i ve seen that other users have > allready used this DATATABLE table solution , plus it has a very > wonderfull feature '''Search with a few letters''' . Does the new > cube2py offers the same functionality ? > > Thanks again . Now i have to pass data from the form to pdf report . > Sarados > > On 19 Ιούλ, 21:55, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > 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