Actually, depending when you looked at that url, determines whether or  
not it works correctly, and in IE7 as well.  I did manage to figure  
out my difficulties, although it took a good 2-3 rewrites to do so.  I  
uploaded my working result right over the not-working attempt to show  
it to a couple friends about 8pm UTC on wednesday.  (woops, for anyone  
who was looking for it being broken.)

Side note: it's *not a generic solution*, and requires extra data  
(tags for tables/data) and full structure (eg, thead, tbody) available  
in the tables.  Since I needed the extra data about the tables anyway  
to send that information to a backend, it turns out to be simple for  
me to include it.

What it turned out to need was that I would need to bind the table  
rows individually, based on whether or not a particular table row  
contained a table, or contained data.  This let me drag the rows in  
IE7.  Figuring out that part was the most difficult and annoying.   
Once having that, fixing the droppable part involved generalizing that  
it would be dropped on a table row, and figuring out what table row  
(header, footer) it was dropped on, and therefore where to toss it.   
And then rebinding the droppable to the row so that the browsers would  
use it again.

-Joe

On Feb 26, 2009, at 3:38 AM, Richard D. Worth wrote:

> I have to say, I'm impressed you've made it as far as you have.  
> Dragging TRs and TDs is not currently supported. I'm hoping we can  
> add the feature someday, but it'll mean solving problems like the  
> ones you're hitting. I'm pretty sure the main difficulties stem from  
> the fact that when the element (like a TR for example) is cloned,  
> the browser wants it to be in a table. It may involve digging into  
> the draggable code for now, and if a TR is cloned, placing it in a  
> table, and then your helper is a TABLE that contains a TR instead of  
> a lone TR. If you're interested and able to figure this out, that  
> would sweet. In any case, you can share what you learn and track  
> progress others make on it here:
>
> http://dev.jqueryui.com/ticket/2405
>
> Thanks.
>
> - Richard
>
> On Tue, Feb 24, 2009 at 9:34 AM, Joe <[email protected]> wrote:
>
> Hi,
>
> I'm trying to build a feature for my users to allow them to move
> materials around in tables, and more importantly, into groups (and out
> of groups).
>
> I've been able to build the functionality with support for safari &
> firefox, but I cannot figure out how to work around what appears to be
> a bug in IE7's handling of tables within tables, when acting on the
> table rows.
> http://www.gameowls.com/test
>
> The url above has working functionality (with one use case that fails
> in all browsers, but I think I can manage to work around that) in
> webkit & firefox3, but when you try to drag a row in a subtable, it
> tries to drag the row from the parent's table.
>
> I've hit a standstill in trying to figure out how to make it work in
> IE7, and am hoping someone could point me in the right direction.
>
> Thanks,
> -Joe
>
>
>
>
> >


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

Reply via email to