i did it with (links=[lambda row: A('delete' ,
_href=URL('deleteservice',args=row.servicedefinition.id,user_signature=True),
_onclick='return confirm("are you sure you want to delete
this object?")' )
])
On Monday, April 4, 2016 at 2:41:19 PM UTC+4:30, narges Rezaei wrote:
>
> hi...
> i use links in grid for delete multi record and i want use deletion
> confirm for my users . how can i do it?
> how can i use "submit button" look like delete button in grid instead of
> "link "
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.