Hi Sarbjit, did you manage to have the placement of your button under the same header where the default grid buttons are ? I'm also unsuccessful here... Thanks! Mirko
On Sunday, November 3, 2013 4:45:55 AM UTC+1, Sarbjit wrote: > > I have added a new button in grid using links as below :- > > links = [dict(header='', body=lambda row: > A('CustomButton',_class="w2p_trap button btn", > _href=URL('customhandler',args=[row.id])))] > > Is it possible that I can have the placement of this button under the same > header where the default grid buttons ('Edit','View' or 'Delete') are > placed and this should have the same look and feel. > > Otherwise, the new button looks very odd in the grid from the other > buttons, view/edit pages are OK as the new button is aligned with existing > buttons. Its just the main grid layout which requires modification. Any > pointers/suggestions? Can I have the new button visible only under > Edit/View and not under main grid (This is better than the odd look). > > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.