>
> 2.  Can I override the default links for Add and Edit?


links = [lambda row: A('Edit',_href=URL("default","edit",args=[row.id])),
         lambda row: A('Delete',_href=URL("default","delete",args=[row.id]))]

table = SQLFORM.grid(query,
                links=links,
                deletable=False,
                editable=False,
                create=False
                )


2011/9/14 Jim Steil <j...@qlf.com>

> I understand that these two grid are brand new, but has anyone created any
> documentation on all of the options and how to use them yet?
>
> Here are a couple issues I'm wondering about:
>
> 1.  In reading this post - https://groups.google.com/**forum/#!msg/web2py/
> **1eSMh8TlHGs/rB9Hx2UIP4cJ<https://groups.google.com/forum/#!msg/web2py/1eSMh8TlHGs/rB9Hx2UIP4cJ>-
>  and looking at the images provided, how do I get the buttons to display
> instead of just link text.
>
> 2.  Can I override the default links for Add and Edit?
>
> 3.  What is the difference between grid and smartgrid?
>
> I'm happy to proof/test any documentation that is in progress.  I'm just
> eager to get to work with these great new tools.
>
>    -Jim
>
>
>


-- 
 http://martin.tecnodoc.com.ar

Reply via email to