[jQuery] Re: TableSorter and colspans

2009-10-01 Thread Konstantin K

Hi Christian,

I was wondering if you know to when expect the next version that
supports colspan?
I'm using your great plugin, but need colspan support.

Thanks,
Konstantin


On Sep 7, 4:45 am, Christian Bach  wrote:
> Hi Mike.
>
> Tablesorter used to support colspan until i found a bug in the
> checkCellColSpan function. I quick fixed it by removing the function called
> and forgot to update the docs.
>
> I have a new implementation on the way.
>
> Regards
> Christian
>
> 2009/9/5 Mike Alsup 
>
>
>
> > > Ive used the tablesorter alot in my projects, and Ive had the need for
> > > this as well.
> > > I found a DataTables plugin which looks like it can do colspans, but I
> > > havent tried it.
> > > I actually looked after reading your post to see if it supported the
> > > colspans now, as earlier versions didnt and I see it looks like it
> > > does.
>
> > I figured out how to get this working in my project via TableSorter's
> > textExtraction option.  Would like to understand why the docs claim to
> > support this however.
>
> --
> Christian Bach
>
> Polyester*
> Wittstocksgatan 2nb
> 11524 Stockholm, Sweden
> +46 70 443 91 90


[jQuery] Re: TableSorter and colspans

2009-09-24 Thread DisgruntledGoat

Hi Christian,

I've just found a bug which sounds like it's related to this issue.
You may already be aware of this but I'll post it anyway.

I have a table with two rows in the header. The first row has one cell
spanning all the columns, and the second row has a cell for each
column.

With all the default settings (i.e. nothing passed in to the
tablesorter function), the sort arrows appear on the spanned cell as
well as each of the main header cells. But when clicking any column,
the table sorts by the next column along. So if I click the spanned
cell, it sorts by the first column; if I click the 3rd cell in the
second row, it sorts by the 4th column.

I think this is because the spanned cell is now being added to the
header cell list. In an earlier version I used, it was ignored
completely, so cell 0 was the first column, now cell 0 is the header
cell, but when you click it, it sorts by what used to be cell 0, the
first column.

Hope that helps!

--
Scott.



On Sep 7, 9:45 am, Christian Bach  wrote:
> Hi Mike.
>
> Tablesorter used to support colspan until i found a bug in the
> checkCellColSpan function. I quick fixed it by removing the function called
> and forgot to update the docs.
>
> I have a new implementation on the way.
>
> Regards
> Christian
>
> 2009/9/5 Mike Alsup 
>
>
>
> > > Ive used the tablesorter alot in my projects, and Ive had the need for
> > > this as well.
> > > I found a DataTables plugin which looks like it can do colspans, but I
> > > havent tried it.
> > > I actually looked after reading your post to see if it supported the
> > > colspans now, as earlier versions didnt and I see it looks like it
> > > does.
>
> > I figured out how to get this working in my project via TableSorter's
> > textExtraction option.  Would like to understand why the docs claim to
> > support this however.
>
> --
> Christian Bach
>
> Polyester*
> Wittstocksgatan 2nb
> 11524 Stockholm, Sweden
> +46 70 443 91 90


[jQuery] Re: TableSorter and colspans

2009-09-07 Thread Christian Bach
Hi Mike.

Tablesorter used to support colspan until i found a bug in the
checkCellColSpan function. I quick fixed it by removing the function called
and forgot to update the docs.

I have a new implementation on the way.

Regards
Christian

2009/9/5 Mike Alsup 

>
> > Ive used the tablesorter alot in my projects, and Ive had the need for
> > this as well.
> > I found a DataTables plugin which looks like it can do colspans, but I
> > havent tried it.
> > I actually looked after reading your post to see if it supported the
> > colspans now, as earlier versions didnt and I see it looks like it
> > does.
>
>
> I figured out how to get this working in my project via TableSorter's
> textExtraction option.  Would like to understand why the docs claim to
> support this however.
>



-- 
Christian Bach

Polyester*
Wittstocksgatan 2nb
11524 Stockholm, Sweden
+46 70 443 91 90


[jQuery] Re: TableSorter and colspans

2009-09-05 Thread Mike Alsup

> Ive used the tablesorter alot in my projects, and Ive had the need for
> this as well.
> I found a DataTables plugin which looks like it can do colspans, but I
> havent tried it.
> I actually looked after reading your post to see if it supported the
> colspans now, as earlier versions didnt and I see it looks like it
> does.


I figured out how to get this working in my project via TableSorter's
textExtraction option.  Would like to understand why the docs claim to
support this however.


[jQuery] Re: TableSorter and colspans

2009-09-04 Thread Matthew Abbott

Ive used the tablesorter alot in my projects, and Ive had the need for
this as well.
I found a DataTables plugin which looks like it can do colspans, but I
havent tried it.
I actually looked after reading your post to see if it supported the
colspans now, as earlier versions didnt and I see it looks like it
does.

http://www.datatables.net/examples/

Cheers,
Matthew

On Sep 4, 12:14 pm, Mike Alsup  wrote:
> Anyone familiar with this plugin?  The docs say that it supports
> colspans but it doesn't appear to do so.  The script has a
> checkCellColSpan function defined but it is never invoked.  I really
> need colspan support.