i think it`s best to just rewrite it to use divs and no tables. other than that i have no idea how to resolve it.
2007/2/27, Michael Crowl <[EMAIL PROTECTED]>:
Thanks for the response, Mark, that's what I suspected - I had done a search, but my local email archives didn't go back that far. So here's a separate problem: Now I'm using one DIV as the sortable container, than each sortable item is a DIV wrapped around a single-row TABLE, so I could keep the current design. Unfortunately, on drag the entire table and all of its TDs (even elements inside the TDs) lose their classes entirely. Makes for a very ugly drag. Setting activeclass doesn't help, because all that does is assert a class on the DIV wrapping the table - nothing helps the table cells and contents maintain their original classes. In other words, I want to move each DIV (wrapped around table) WITHOUT Sortables destroying the existing CSS. Note that once the drag is done, the original styles reassert themselves - it's only on drag. Anyone have any tips? -- mike Mark wrote: > i believe there was a whole discussion about this somewhere in just > june or july archives of this list in 2006.. the result of that is > that you can`t do it with tr`s because you will need to create a > complete table just for that one TR and that should be done be > javascript.. or that`s how i understood it. > > best thing to do is using divs or li`s like in the example. > > > 2007/2/27, Michael Crowl <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>: > > > Is it possible to use Sortables to sort table rows? I haven't had > much > luck with it - the rows become malformed and break on drag, and they > don't stay fixed within the width of the table. > > I've moved on to working with DIVs instead, but using table rows > would > have been cleaner. > > -- mike > > > _______________________________________________ > jQuery mailing list > [email protected] <mailto:[email protected]> > http://jquery.com/discuss/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > -- | Michael Crowl | Web Developer | [EMAIL PROTECTED] _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
