I'm a pretty solid python and c/c++ programmer, but I'm struggling
with javascript, even though it is sucking less with mochikit.

I have many data tables on one page and they come up  as the user
drills down through the data, exploring various avenues.

I copied the sortable_tables example (from MochiKit-1.3.1) and
slightly repurposed it for my situation, adding a 'number' case for
the 'mochikit:format' select and some needed connect statements for
the cloned rows (the connects don't seem to survive the cloning).

It works great for the first table...  After the table element is
generated I call:

sortableManager.initWithTable("familytable");

When a detail table is rendered I then call:

sortableManager.initWithTable(this.table);

Of course this wipes out the first table, and moves it rows to the
second table.  I gather what I need are multiple instances of the
sortableManager.  I think I am missing a basic Javascript concept
here, and if anyone could help me out I would be real happy.

Rgds,
Kael


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to