|
I'm designing a table that is displayed in a client
browser. The columns are *sortable*. I'd like to be able to target (via AJAX) a specific row (or even a specific cell within the row) to be updated when I receive a status change from the server. What is the best way to go about this? Should I have a separate <div id="xxx"> for each row? Is there a better way? How else should I track here the updated information needs to be displayed, as the sortable table may have last been sorted by any column header prior to the latest update? I realize that if I maintain the "xx" id, that I should be able to update only that specific row, especially if the div "xx" id is one of the JSON parameters I pass back from the server. All opinions and suggestions are appreciated. -- Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~--- |
- [Rails-spinoffs] AJAX dealing with Sortable table? s.d
