Re: [web2py] Re: Custom links for SQLFORM.grid

2011-11-17 Thread Jim Steil
I just opened a ticket (http://code.google.com/p/web2py/issues/detail?id=522) and offered a (probably over-simplistic) mod to sqlhtml.py that would give the behavior I am looking for. Basically, if None is returned from the lambda function, the button is not displayed. Works fine for all my

[web2py] Re: Custom links for SQLFORM.grid

2011-11-17 Thread Cliff
Jim, I have to solve a similar puzzle soon. Here's the approach I'm going to try. def make_button(this, that): # dummy_button has the text but is lowlighted without an A helper if should_return_dummy_button: return lowlightedbutton else: return workingbutton links =