Greg, It wouldn't be hard to roll-your-own but the technique I would use would depend on the database schema that was going to be storing the data. I don't know if you want to have all the cells editable by default, but if you do, you'd need a lot of observers. You might be able to avoid this by attaching and detaching observers dynamically - i don't think bubbling works on blur/focus though? I would personally do a periodical executor which serialized the table and saved it if it's changed rather than relying on onBlur events to save individual cells - this way you don't have too many ajax requests hitting your server. You could have the onblur events keeping an internal class up to date which was then sync'd with the server and use a big cookie to provide instant saving. Just some random musings...
Gareth On Fri, Apr 18, 2008 at 10:26 AM, nlloyds <[EMAIL PROTECTED]> wrote: > > On Apr 16, 8:22 am, greghauptmann <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Any recommendations re a component/plugin/javascript library to give > > me an in-line editable table (spreadsheet like support), like google > > spreadsheets? > > > > Tks > > TableKit (http://www.millstream.com.au/upload/code/tablekit/) might be > a good starting point. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
