[jQuery] TableSorter question

2006-12-05 Thread floepi

Hi all,

i was wondering if it is possible to sort by multiple criteria using the
tablesorter plugin. It really works a treat but i need to sort something
like this:


NameGroup 

PhilUser
Matthias Admin
Markus   User
AdrianUser
Peter Admin

When i sort by group the names should be sorted alphabetically in their
grouping like this

NameGroup 

Matthias Admin
Peter Admin
AdrianUser
Markus   User
PhilUser


Currently this function is not supported as i think tablesorter just
displays names as they come in the table hierarchy. I have not had time to
look into the tablesorter plugin myself but before i try my luck i thought i
ask here. 

Thanks

Phil

PS: Thanks for all the great stuff you guys create and share. It is really
awesome!

-- 
View this message in context: 
http://www.nabble.com/TableSorter-question-tf2763201.html#a7704330
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] tableSorter question

2006-10-17 Thread Christian Bach
This very cool!

Sorry for the late reply, i have been overrun by work lately.

/christian

Paul Bakaus wrote:
> Alright, gonna try that, thank you!
> 
> 2006/10/16, Blair Mitchelmore <[EMAIL PROTECTED]>:
>>
>> Well, I noticed that in some of the highlightFade instances you
>> specified and end parameter, and my plug-in doesn't know that you want
>> that style removed afterwards because that could lead to a bumpy colour
>> transition. Add the final parameter set to an empty string and see if
>> the highlightFade problems go away.
>>
>> ie change
>>
>> $("td:gt(3)",this.parentNode).highlightFade({start: 'green',end:
>> '#D0FFDA'});
>>
>> to
>>
>> $("td:gt(3)",this.parentNode).highlightFade({start: 'green',end:
>> '#D0FFDA', final: ''});
>>
>> -blair
>>
>> Paul Bakaus wrote:
>> > Hi there,
>> >
>> > I still don't know what plugin it causes..however, it's not too
>> > important, it's only a prototype. But if you want to look at it
>> yourself:
>> >
>> > http://paul.jquery.com/plugins/demo_mk/
>> > 
>> >
>> > Save it and uncomment this line:
>> >
>> > $(drag).children().removeClass("highlighted");
>> >
>> > then try to drag a row around and drop it into the table again. Now
>> > try the sorting, and you will see that the class doesn#t update again.
>> > Strange, huh?
>> >
>> > Paul
>> >
>> > 2006/10/13, Blair Mitchelmore <[EMAIL PROTECTED]
>> > >:
>> >
>> > I wrote highlightFade so that it would remove the styles it set
>> after
>> > the fact except when necessary to keep them for some reason. Can
>> > you set
>> > up a simple test case of this error so I can see why it's 
>> happening?
>> >
>> > -blair
>> >
>> > Paul Bakaus wrote:
>> > > forget it, it was not a table sorter bug I had, but this was
>> caused
>> > > because of the highlightFade plugin, which does not remove its
>> > inline
>> > > styles after fading. Doo :)
>> > >
>> > >
>> >
>> >
>>
>>
>> ___
>> jQuery mailing list
>> discuss@jquery.com
>> http://jquery.com/discuss/
>>
> 
> 
> 
> 
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] tableSorter question

2006-10-16 Thread Paul Bakaus
Alright, gonna try that, thank you!2006/10/16, Blair Mitchelmore <[EMAIL PROTECTED]>:
Well, I noticed that in some of the highlightFade instances youspecified and end parameter, and my plug-in doesn't know that you wantthat style removed afterwards because that could lead to a bumpy colourtransition. Add the final parameter set to an empty string and see if
the highlightFade problems go away.ie change$("td:gt(3)",this.parentNode).highlightFade({start: 'green',end: '#D0FFDA'});to$("td:gt(3)",this.parentNode).highlightFade({start: 'green',end: '#D0FFDA', final: ''});
-blairPaul Bakaus wrote:> Hi there,>> I still don't know what plugin it causes..however, it's not too> important, it's only a prototype. But if you want to look at it yourself:
>> http://paul.jquery.com/plugins/demo_mk/> >
> Save it and uncomment this line:>> $(drag).children().removeClass("highlighted");>> then try to drag a row around and drop it into the table again. Now> try the sorting, and you will see that the class doesn#t update again.
> Strange, huh?>> Paul>> 2006/10/13, Blair Mitchelmore <[EMAIL PROTECTED]> [EMAIL PROTECTED]
>>:>> I wrote highlightFade so that it would remove the styles it set after> the fact except when necessary to keep them for some reason. Can> you set> up a simple test case of this error so I can see why it's happening?
>> -blair>> Paul Bakaus wrote:> > forget it, it was not a table sorter bug I had, but this was caused> > because of the highlightFade plugin, which does not remove its
> inline> > styles after fading. Doo :)> >> >>>___jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/-- Paul BakausWeb DeveloperHildastr. 35
79102 Freiburg
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] tableSorter question

2006-10-16 Thread Blair Mitchelmore
Well, I noticed that in some of the highlightFade instances you 
specified and end parameter, and my plug-in doesn't know that you want 
that style removed afterwards because that could lead to a bumpy colour 
transition. Add the final parameter set to an empty string and see if 
the highlightFade problems go away.

ie change

$("td:gt(3)",this.parentNode).highlightFade({start: 'green',end: '#D0FFDA'});   

to

$("td:gt(3)",this.parentNode).highlightFade({start: 'green',end: '#D0FFDA', 
final: ''});

-blair

Paul Bakaus wrote:
> Hi there,
>
> I still don't know what plugin it causes..however, it's not too 
> important, it's only a prototype. But if you want to look at it yourself:
>
> http://paul.jquery.com/plugins/demo_mk/ 
> 
>
> Save it and uncomment this line:
>
> $(drag).children().removeClass("highlighted");
>
> then try to drag a row around and drop it into the table again. Now 
> try the sorting, and you will see that the class doesn#t update again. 
> Strange, huh?
>
> Paul
>
> 2006/10/13, Blair Mitchelmore <[EMAIL PROTECTED] 
> >:
>
> I wrote highlightFade so that it would remove the styles it set after
> the fact except when necessary to keep them for some reason. Can
> you set
> up a simple test case of this error so I can see why it's happening?
>
> -blair
>
> Paul Bakaus wrote:
> > forget it, it was not a table sorter bug I had, but this was caused
> > because of the highlightFade plugin, which does not remove its
> inline
> > styles after fading. Doo :)
> >
> >
>
>


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] tableSorter question

2006-10-15 Thread Paul Bakaus
Hi there,I still don't know what plugin it causes..however, it's not too important, it's only a prototype. But if you want to look at it yourself:http://paul.jquery.com/plugins/demo_mk/
Save it and uncomment this line:$(drag).children().removeClass("highlighted");then try to drag a row around and drop it into the table again. Now try the sorting, and you will see that the class doesn#t update again. Strange, huh?
Paul2006/10/13, Blair Mitchelmore <[EMAIL PROTECTED]>:
I wrote highlightFade so that it would remove the styles it set afterthe fact except when necessary to keep them for some reason. Can you setup a simple test case of this error so I can see why it's happening?
-blairPaul Bakaus wrote:> forget it, it was not a table sorter bug I had, but this was caused> because of the highlightFade plugin, which does not remove its inline> styles after fading. Doo :)
>>___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- Paul BakausWeb DeveloperHildastr. 3579102 Freiburg
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] tableSorter question

2006-10-13 Thread Blair Mitchelmore
I wrote highlightFade so that it would remove the styles it set after 
the fact except when necessary to keep them for some reason. Can you set 
up a simple test case of this error so I can see why it's happening?

-blair

Paul Bakaus wrote:
> forget it, it was not a table sorter bug I had, but this was caused 
> because of the highlightFade plugin, which does not remove its inline 
> styles after fading. Doo :)
>
>


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] tableSorter question

2006-10-13 Thread Paul Bakaus
forget it, it was not a table sorter bug I had, but this was caused because of the highlightFade plugin, which does not remove its inline styles after fading. Doo :)2006/10/13, Paul Bakaus <
[EMAIL PROTECTED]>:Hi there,
how do I refresh tableSorters instance? like a rebuild?In short my problem: I'm combining sortables with the tableSorter, and after the Sorting (Drag Drop), the highlightClass for this row is not updated anymore.
-- Paul BakausWeb DeveloperHildastr. 3579102 Freiburg

-- Paul BakausWeb DeveloperHildastr. 3579102 Freiburg
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] tableSorter question

2006-10-13 Thread Paul Bakaus
Hi there,how do I refresh tableSorters instance? like a rebuild?In short my problem: I'm combining sortables with the tableSorter, and after the Sorting (Drag Drop), the highlightClass for this row is not updated anymore.
-- Paul BakausWeb DeveloperHildastr. 3579102 Freiburg
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/