Hi, i have problem with TableKit and DWR, i want make sortable table using "CloneNode" like here: --------------------------------------------------------------------------------------------- function fillTable() { People.getAllPeople(function(people) { // Delete all the rows except for the "pattern" row dwr.util.removeAllRows("peoplebody", { filter:function(tr) { return (tr.id != "pattern"); }}); // Create a new set cloned from the pattern row var person, id; people.sort(function(p1, p2) { return p1.name.localeCompare(p2.name); }); for (var i = 0; i < people.length; i++) { person = people[i]; id = person.id; dwr.util.cloneNode("pattern", { idSuffix:id }); dwr.util.setValue("tableName" + id, person.name); dwr.util.setValue("tableSalary" + id, person.salary); dwr.util.setValue("tableAddress" + id, person.address); $("pattern" + id).style.display = ""; // officially we should use table-row, but IE prefers "" for some reason peopleCache[id] = person; } }); } --------------------------------------------------------------------------------------------- code from http://www.directwebremoting.org/demo/people/index.html and add sortable from http://www.millstream.com.au/upload/code/tablekit/ i''ve add "clas="sortable" in HTML file, and when debugging in FireBug, after click on table header class is changeing to "sortable=desc" and "sortable=asc" but nothing happend. i''ve tryed run table with static data ( put in HTML <tr><td>...some data... </td></tr> <tr><td>...some data ...</tr ) and then it''s working, but how make it works on table generated with "cloneNode" pls, help thanx Martin --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---