I see.
So, the helper is basically the element you're dragging, so you can
see what you're dragging. Now I understand.
But there are still problems.
1. My table's is width 100%, and when the helper comes in, the row I'm
dragging (or at least its clone that appears) hasn't got the 100%
width property anymore. Its width is equal to the width of the text
inside the cells of the row.
2. The cells starting from the no. 2 position shift to the right when
dragging a row.

These problems appear only in Firefox. Firefox 3. In IE6 and 7 it
works perfectly. (weird, huh? :) )

Thanks,
Dan

On Oct 15, 3:50 pm, "Paul Bakaus" <[EMAIL PROTECTED]> wrote:
> But that would mean you don't actually see a drag motion.
> a easy way to do this would be doing
>
> helper: function() { return $('<div/>')[0]; }
>
>
>
> On Wed, Oct 15, 2008 at 2:14 PM, degro <[EMAIL PROTECTED]> wrote:
>
> > Hey, thanks for the quick reply.
> > Basically, I wanted to disable the helper completely. Not to show it
> > all, and instead just drag the original element.
> > Is that possible?
>
> > Thanks.
>
> > On Oct 15, 2:58 pm, "Paul Bakaus" <[EMAIL PROTECTED]> wrote:
> > > Hi Degro,
>
> > > it's not technically possible to position <tr> elements, and therefore
> > not
> > > possible to use
> > > them during a drag operation.
>
> > > That means, setting the helper option to "original" will introduce
> > issues,
> > > and I don't think
> > > there's another possibility then using a custom helper!
>
> > > Sorry, hope this gives you some insight,
>
> > > Paul
>
> > > On Wed, Oct 15, 2008 at 7:36 AM, degro <[EMAIL PROTECTED]> wrote:
>
> > > > Hi jquery guys.
> > > > Just switched from mootools and I'm really glad I did.
>
> > > > But I bumped into a problem which I don't know how to solve.
> > > > I know that the helper option in sortable() must be a function that
> > > > returns a jquery object.
> > > > But I don't want any helper and instead drag the original element,
> > > > since it seems to lose its properties and it is shown smaller in width
> > > > than my original element. (I'm applying sortable to the tbody of a
> > > > table - i want to sort tr's).
>
> > > > Any ideas?
>
> > > > Thanks,
> > > > degro
>
> > > --
> > > Paul Bakaus
> > > UI Architect
> > > --http://paulbakaus.comhttp://www.linkedin.com/in/paulbakaus
>
> --
> Paul Bakaus
> UI Architect
> --http://paulbakaus.comhttp://www.linkedin.com/in/paulbakaus
--~--~---------~--~----~------------~-------~--~----~
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