Editable data grid

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

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

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!!!

I implemented this one months ago. Works fine.

http://unspace.ca/discover/datagrid

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs