I have a view that has a swath of innerHTML in it. This innerHTML
resides in an HTML table, and it is updated every second by a
javascript timer which, through anX MLHttpRequest, reads a file of
JSON data which is written to the server by another application.

The upshot is, this table is live on the web page. Within this table,
I will have a link which the user can click, which would then open
that row from that live table, in a formview to be user-edited.

I plan on using http://www.prototypejs.org/api/element/toggle to pop
this open. The problem is, this would require a div for each row that
would have the form. As you can see from my description, I am updating
this row every second, and at times there can be two dozen or more
rows -- which is too much data to push through.

I'm wondering if anyonw can offer me any good ideas on how to solve
this dilemma. I need to keep the data, the html, for the table as
light as possible, When the user click the rows link, I need to open
the form up within the rows (the typical type of editing behavior you
see in web apps).

Does anyone see a better way to accomplish this? Thanks, RVince
--~--~---------~--~----~------------~-------~--~----~
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 [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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to