[web2py] Smartgrid links with many-to-many join tables

2018-09-02 Thread miiheikk
Hi, the amount of googling I've fruitlessly put into this problem might indicate that it's either a really remote corner case or something so obvious that I'm the only one missing it. The problem: I've multiple many-to-many relations in my app, and I'm building a simple management interface fo

[web2py] smartgrid links

2017-06-13 Thread T.R.Rajkumar
In grid we have this in book. links_in_grid if set to False, links will only be displayed in the "details" and "edit" page (so, not on the main grid). I want the reverse, the links to be displayed in the main grid and not in the edit or details page. And that too in the parent gird only, not i

[web2py] Smartgrid Links

2013-06-25 Thread Tom Russell
I have a smartgrid with a link like so: links = [lambda row: A(T('Create Appointment'),_href=URL("AppointmentManager","appointment_create",args=[ row.id]))] grid = SQLFORM.smartgrid(db.patient, deletable=True, editable=True, create=True, maxtextlength=64, paginate=25, links=links, links_i