did you mean header detail? i think you can do it with oncreate (function 
run on create event) and onupdate (function run on update event). first 
create oncreate and onupdate function after then call it from your grid 
function. 
e.g.
def __oncreate_function(form):
your function/query here

def __onupdate_function(form):
your function/query here

def grid_function():
grid = SQLFORM.grid(db.table_name, oncreate=__oncreate_function, 
onupdate=__onupdate_function)
return locals()

hope this can help.

best regards,
stifan

-- 
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/groups/opt_out.

Reply via email to