Does anyone have a good recommendation for implementing an editable data grid (like a spreadsheet) based on a dbase table/model? What I would like is something similar to Google Spreadsheets. Thanks, Peter --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hi, Can you please let us know if you were able to make an editable grid ? If yes, then please guide me how it can be done. Thanks. Peter Ensch wrote:> Does anyone have a good recommendation for implementing an editable > data grid (like a spreadsheet) based on a dbase table/model? > > What I would like is something similar to Google Spreadsheets. > > Thanks, > Peter-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Rm Rm wrote:> Can you please let us know if you were able to make an editable grid ?One might clone in_place_editor all over the page. However, SQL has a notorious problem storing simple arrays, and in_place_editor inherits this. You can''t pass an index in, so you can''t run a whole bunch of them all over a page, each with a distinct record :id to hit. I "solved" the problem by dumping the source of in_place_editor into my project, renaming it by adding _indexed, passing an index in, and gluing it onto the end of the model. -- Phlip http://www.greencheese.us/ZeekLand <-- NOT a blog!!! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
try this great grid: http://www.jackslocum.com/blog/2006/09/10/adding-built-in-editing- support-to-the-yahoo-ui-extensions-grid/ passing and storing data with xml builder works fine. hth On 29 Jan., 05:41, "Phlip" <phlip2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Rm Rm wrote: > > Can you please let us know if you were able to make an editable grid ?One might clone in_place_editor all over the page. > > However, SQL has a notorious problem storing simple arrays, and > in_place_editor inherits this. You can''t pass an index in, so you can''t run > a whole bunch of them all over a page, each with a distinct record :id to > hit. > > I "solved" the problem by dumping the source of in_place_editor into my > project, renaming it by adding _indexed, passing an index in, and gluing it > onto the end of the model. > > -- > Phlip > http://www.greencheese.us/ZeekLand<-- NOT a blog!!!--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I implemented this one months ago. Works fine. http://unspace.ca/discover/datagrid -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---