Re: AJAX based data grid for Rails App? Is there any code/approach I can leverage?

Greg Hauptmann
Fri, 04 Apr 2008 09:21:52 -0000

Excellent - thanks guys.

From a brief looks it seems ExtJS is much nicer (finishing looks excellent)
than ActiveScaffold.   However should I be concerned that ExtJS isn''t a
Rails plugin?  Would ActiveScaffold fit the Rails approach better in terms
of how its AJAX prototype support is built into the controller/views *.rjs
etc?  Or is this really not a concern?   (I''m thinking of starting to
jump
into ExtJS but thought I''d ask for advise first)



On Fri, Apr 4, 2008 at 5:46 PM, Peter De Berdt
<peter.de.berdt-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org>
wrote:

>
> On 04 Apr 2008, at 04:46, Greg Hauptmann wrote:
>
> I want to have a page in my Ruby on Rails application that is like a
> dynamic / updateable data grid.  Like a matrix or spreadsheet segment (x
> rows, y columns) which one can click in any of the cells and make an
update,
> which triggers some AJAX code to fire off the update, and then the
responses
> come back and update whatever else needs updating based on this change.
>
> Does Rails support this?  Is there a good plugin or sample application
> that does this I can look at?  Perhaps a prototype project example?
>
>
> If it''s a full-featured grid you want, I''d suggest you to
look at ExtJS.
> You''ll have to use JSON (or XML) to communicate between the ExtJS
components
> and the Rails (or whatever) backend.
>
> Although it doesn''t provide an editable grid, the Ext Scaffold
Generator
> plugin does have some nifty features you can base your code on:
>
>
http://inside.glnetworks.de/2008/01/18/announcing-ext-scaffold-generator-plugin-for-rails/
>
>
> Best regards
>
>
> Peter De Berdt
>
>
> >