i wont to add a lambda link to inactivate the row (is_active=False)

31 views
Skip to first unread message

Yoel Baez

unread,
Sep 27, 2016, 4:12:48 PM9/27/16
to web2py-users
i wont to add a lambda link to inactivate the row (is_active=False)

Can someone help me please?

Dave S

unread,
Sep 27, 2016, 5:07:05 PM9/27/16
to web2py-users


On Tuesday, September 27, 2016 at 1:12:48 PM UTC-7, Yoel Baez wrote:
i wont to add a lambda link to inactivate the row (is_active=False)

Can someone help me please?

What are you trying to do?  Is this link to appear in a form (like an edit link in SQLFORM)?  Is it to be a standalone link, perhaps in the the navigation bar?  Is the inactivate event supposed to happen automatically when something else happens?

/dps
 

Yoel Baez

unread,
Sep 27, 2016, 5:10:49 PM9/27/16
to web...@googlegroups.com
I want to add a button on a SQLFORM.grid to inactivate the row

--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/PUS6txn1y7o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Saludos,
YB

Dave S

unread,
Sep 28, 2016, 10:08:46 PM9/28/16
to web2py-users


On Tuesday, September 27, 2016 at 2:10:49 PM UTC-7, Yoel Baez wrote:
I want to add a button on a SQLFORM.grid to inactivate the row

I'd look at the way SQLFORM.grid  update is handled, or maybe even co-opt it.

/dps
 

2016-09-27 17:07 GMT-04:00 Dave S <snide...@gmail.com>:


On Tuesday, September 27, 2016 at 1:12:48 PM UTC-7, Yoel Baez wrote:
i wont to add a lambda link to inactivate the row (is_active=False)

Can someone help me please?

What are you trying to do?  Is this link to appear in a form (like an edit link in SQLFORM)?  Is it to be a standalone link, perhaps in the the navigation bar?  Is the inactivate event supposed to happen automatically when something else happens?

/dps
 

--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/PUS6txn1y7o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Saludos,
YB
Reply all
Reply to author
Forward
0 new messages