[web2py] Re: REF: SQLFORM.grid programmatically determine operation [add, edit or delete]

2013-03-13 Thread Niphlod
inspect request.args ... edit, delete, new should appear accordingly to the 
operation.

On Wednesday, March 13, 2013 9:04:19 AM UTC+1, software.ted wrote:

 I would like to know how you can determine what button or operation was 
 made by a user on the grid where they pressed edit or add or delete in the 
 controller.

 Teddy L.

 -- 

 ...
 Teddy Lubasi Nyambe
 Opensource Zambia
 Lusaka, ZAMBIA

 Cell: +260 97 7760473
 website: http://www.opensource.org.zm

 ~/
 Human Knowledge belongs to the world! - AntiTrust

 Man is a tool-using animal. Without tools he is nothing, with tools he is 
 all - Thomas Carlyle 1795-1881

 /~ 


-- 

--- 
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.




Re: [web2py] Re: REF: SQLFORM.grid programmatically determine operation [add, edit or delete]

2013-03-13 Thread Teddy Nyambe
Thanks got it!

On Wed, Mar 13, 2013 at 10:45 AM, Niphlod niph...@gmail.com wrote:

 inspect request.args ... edit, delete, new should appear accordingly to
 the operation.


 On Wednesday, March 13, 2013 9:04:19 AM UTC+1, software.ted wrote:

 I would like to know how you can determine what button or operation was
 made by a user on the grid where they pressed edit or add or delete in the
 controller.

 Teddy L.

 --
 ..**..**
 ...
 Teddy Lubasi Nyambe
 Opensource Zambia
 Lusaka, ZAMBIA

 Cell: +260 97 7760473
 website: http://www.opensource.org.zm

 ~/
 Human Knowledge belongs to the world! - AntiTrust

 Man is a tool-using animal. Without tools he is nothing, with tools he is
 all - Thomas Carlyle 1795-1881

 /~

  --

 ---
 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.






-- 
...
Teddy Lubasi Nyambe
Opensource Zambia
Lusaka, ZAMBIA

Cell: +260 97 7760473
website: http://www.opensource.org.zm

~/
Human Knowledge belongs to the world! - AntiTrust

Man is a tool-using animal. Without tools he is nothing, with tools he is
all - Thomas Carlyle 1795-1881

/~

-- 

--- 
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.