sorry for this post i got the solution to remove the add button from the
form.
its using the create=auth.has_membership('group_name')
now all things are working.
thanks a lot . I am pretty excitted about web2py.
Regards,
Naleen Yadav
GENPRO Technologies Pvt Ltd.
On Thu, Nov 10, 2011 at 11:31 AM
Thanks to all
its working.
I have one more problem that i dont want the add button to appear in the
form layout for that i tried few things such as writable=False but it is
wrong to use writable,
so can u tell the possible solution.
Once again thanks to u all.
On Thu, Nov 10, 2011 at 12:39 AM, Ma
+1
On Nov 9, 7:27 am, Anthony wrote:
> Have you tried something like:
>
> SQLFORM.grid(..., editable=auth.has_membership('editor_group'),
> deletable=auth.has_membership('delete_group'),
> user_signature=True)
>
> Anthony
>
>
>
>
>
>
>
> On Wednesday, November 9, 2011 5:16:10 AM UTC-5, Naleen
Anthony
This is fantastic. I too was looking for a way to do this but this
didn't occur to me. Works great.
-Jim
On 11/9/2011 7:27 AM, Anthony wrote:
Have you tried something like:
SQLFORM.grid(..., editable=auth.has_membership('editor_group'),
deletable=auth.has_membership('delete_g
Have you tried something like:
SQLFORM.grid(..., editable=auth.has_membership('editor_group'),
deletable=auth.has_membership('delete_group'),
user_signature=True)
Anthony
On Wednesday, November 9, 2011 5:16:10 AM UTC-5, Naleen Yadav wrote:
>
> Hii All,
>
> I am using sqlform grid and i just
5 matches
Mail list logo