One approach would be to put connected rows in separate tbody tags,
then sort the tbody objects based on the first tr in the tbody.
This would be a specialized way of sorting, though, and you would
probably need to write some custom code to accomplish it.

Matt Kruse


On Apr 13, 12:53 pm, "Chris W. Parker" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is there anyway to tie rows in a table together so that when TableSorter
> sorts the table it will always keep the rows together and in the same
> order?
>
> I'm trying to dynamically hide/show certain rows but they appear at the
> bottom of the table because of TableSorter.
>
> Anyone have any thoughts or workarounds on this? One thing I can think
> of is to move my child rows to underneath their parent after TableSorter
> has sorted. I can't tell from the documentation but can TableSorter have
> a callback?
>
> Thanks,
> Chris.

Reply via email to