I bet if you google for jQuery/Prototype Data Grid, you'll find more than you can bear to look through. The Google Visualization API has a table "component" (hate that word), http://code.google.com/apis/visualization/documentation/gallery/table.html.
You'll be better off if you define a pattern in your API for handling mass updates, because that's what a table is: a representation of a collection, and from your question I take you want it to be editable. What can do then is devise a way to sync what's in the table with the back-end. Write a method that builds an array of objects for each row of your table and submits that array to the server for updating. If you do that, you can even roll your own grid without resorting to using a ready-made plugin/library. That's a win in itself. On Thu, Apr 29, 2010 at 10:35 AM, Martin Wong <[email protected]> wrote: > Hi all, > > I'm new to the group and also learning the ropes in Rails. Have been viewing > the posts daily from everyone and I must say this is one of the most > innovative groups I've been in. Great one guys. > > I've got a question and after searching around on the web for a data grid > solution, I must say nothing good comes to mind. > > I'm looking for something which can do a grid, page the results, search the > results and do an Ajax call (meaning don't need to refresh the page > everytime). > > I've seen the ActiveScaffold which is alright but it fiddles around with too > many things in the controllers and it's not say very RESTful in my opinion. > > I've looked at extJS at the moment which looks to be slick and all but I'm > not too well versed with their API and am having issues integrating things. > > So, I'm opening it out to the group to see what people normally go for as > opposed to writing code using will_paginate and all. > > Thanks in advance, > > Martin > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" 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/rails-oceania?hl=en. > > -- http://crazyhollywood.org -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" 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/rails-oceania?hl=en.
