[web2py] Re: powertable ( multiple tables on the same page )

2012-06-30 Thread juaneduardo
Hi Chris, finally how did you solved the aoColumns error. I followed Bruno Instructions but always is the same problem El lunes, 18 de julio de 2011 12:47:40 UTC-4, Chris Baron escribió: > > Thanks! - I appreciate the help. > > However, now I'm receiving a javascript error : "Cannot read proper

Re: [web2py] Re: powertable ( multiple tables on the same page )

2011-07-20 Thread Bruno Rocha
PLUGIN PowerGrid ONLY FOR TESTERS!! It is an Pre Alpha Version. No Documentation yet (use it by example) It would be full of JavaScript Bugs and need documentation, if you can help with documentation please let me know your bitbucket user. DEMO: http://labs.blouweb.com/PowerGrid/default/index D

Re: [web2py] Re: powertable ( multiple tables on the same page )

2011-07-20 Thread Roberto Perdomo
Bruno, if you can send me PowerGrid for test it, i'd appreciate it, looks great. 2011/7/20 Roberto Perdomo > Hi, thanks for your work with powertables. > > Today i resolved the problem, editing plugin_powertable.py. > > I have replace live for bind, but not only load the details for the first >

Re: [web2py] Re: powertable ( multiple tables on the same page )

2011-07-20 Thread Roberto Perdomo
Hi, thanks for your work with powertables. Today i resolved the problem, editing plugin_powertable.py. I have replace live for bind, but not only load the details for the first 10 records. The solution was load the table with all records (iDisplayLength = -1), but recentlly discovered that live i

Re: [web2py] Re: powertable ( multiple tables on the same page )

2011-07-20 Thread Bruno Rocha
Sorry, Powertable is 'alpha' and I have too much work to do to improve it. I am trying to solve things.. BTW: I am comming with a new grid system, a complete one, based on CRUD http://labs.blouweb.com/PowerGrid/default/noimages (in tests)

[web2py] Re: powertable ( multiple tables on the same page )

2011-07-20 Thread Chris Baron
I have already corrected that - sorry for the confusion... On Jul 20, 10:23 am, Roberto Perdomo wrote: > i think that you code is wrong, try with: > > return dict( ownedByUser = ownTable.create(), sharedWithUser > = sharedWithUser.create() ) > > you were doubling ownTable on the dict. > > 2011/7/

Re: [web2py] Re: powertable ( multiple tables on the same page )

2011-07-20 Thread Roberto Perdomo
i think that you code is wrong, try with: return dict( ownedByUser = ownTable.create(), sharedWithUser = sharedWithUser.create() ) you were doubling ownTable on the dict. 2011/7/20 Chris Baron > I'm still having a problem getting two powertables on one page. If I > comment out the code for

[web2py] Re: powertable ( multiple tables on the same page )

2011-07-20 Thread Chris Baron
I'm still having a problem getting two powertables on one page. If I comment out the code for the second powertable, everything is fine, but it seems the first powertable can't find its data. Please refer to code posted above. I think this has something to do with instantiation, specifically, I

[web2py] Re: powertable ( multiple tables on the same page )

2011-07-20 Thread Chris Baron
Thank you for the prompt responses. On Jul 19, 4:12 pm, Roberto Perdomo wrote: > Hello, it's me again. > > Well, I discovered that the problem of loading the table with "load" is in > the event "live" plugin_powertable.py. I've replaced the event "live" for > "bind", and, works, but just load the

Re: [web2py] Re: powertable ( multiple tables on the same page )

2011-07-19 Thread Roberto Perdomo
Hello, it's me again. Well, I discovered that the problem of loading the table with "load" is in the event "live" plugin_powertable.py. I've replaced the event "live" for "bind", and, works, but just load the details for the first 10 rows displayed when loading the table. Is there any way to fix

Re: [web2py] Re: powertable ( multiple tables on the same page )

2011-07-19 Thread Bruno Rocha
this should be: table.dtfeatures['aoColumns'] = '' dtfeatures implement any option from datatables.net On Tue, Jul 19, 2011 at 1:32 PM, Christopher Baron wrote: > Does anyone know where, what to set the 'aoColumns' property to ? > > The documentation for this plugin is not helpful... > > On J

[web2py] Re: powertable ( multiple tables on the same page )

2011-07-19 Thread Anthony
On Tuesday, July 19, 2011 12:32:31 PM UTC-4, Christopher Baron wrote: > > Does anyone know where, what to set the 'aoColumns' property to ? > > The documentation for this plugin is not helpful... PowerTable is a web2py plugin integrating the jQuery DataTables plugin into web2py, so you should

[web2py] Re: powertable ( multiple tables on the same page )

2011-07-19 Thread Christopher Baron
Does anyone know where, what to set the 'aoColumns' property to ? The documentation for this plugin is not helpful... On Jul 18, 1:25 pm, Roberto Perdomo wrote: > I now discover that only show the details only for the first 10 records. > > I send you to your mail my app, because is very hevy for

[web2py] Re: powertable ( multiple tables on the same page )

2011-07-18 Thread Chris Baron
Thanks! - I appreciate the help. However, now I'm receiving a javascript error : "Cannot read property 'aoColumns' of null" On Jul 18, 11:34 am, Bruno Rocha wrote: > include ownTable._id = "something" and ownTable._class = "something" to set > different class and id to the tables. > > On Mon, Ju