yes say cell=sheet['cell_name'] when the cell is modified cell.onchange is called so you can point it to a lambda that takes an action like storing it in the db. For example:
cell.onchange=lambda cell=cell: db(db.cells.name==cell.name).update (value=cell.computed_value) Caveat: you must reset cell.onchange=None before the sheet is stored in the session. If other problems have problems downloading I will repost tomorrow. Massimo On Jul 2, 11:41 pm, Álvaro Justen [Turicas] <alvarojus...@gmail.com> wrote: > On Thu, Jul 2, 2009 at 23:16, mdipierro<mdipie...@cs.depaul.edu> wrote: > > Do you need to embed an ajax spreadsheet in you app. Now you have it: > > >http://www.vimeo.com/5432441 > >http://www.web2py.com/appliances/default/show/53 > > > Please let know about bugs > > Cool! > Are there options to save values that user entered (maybe in session)? > I was using some jQuery plugins (like jEditable[1]) to do something > like this (save user edited data from tables). > > [1]http://www.appelsiini.net/projects/jeditable/default.html > > -- > Álvaro Justen > Peta5 - Telecomunicações e Software Livre > 21 3021-6001 / 9898-0141 > http://www.peta5.com.br/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---