Forum:Sortable help!

Hi there!

It is possible to join two columns with the same main title on a sortable?

The image shows how i would it!



How i have to edit this code? {| width=100% class="sortable" ! width=80 | Episodio ! Titolo ! width=110 | Prima TV ! width=110 | Replica #1
 * -style="background:lightblue;"

Thank you! --Cento93 09:16, July 29, 2011 (UTC)


 * Like this:

{| width=100% class="sortable" ! width=80 rowspan=2 | Episodio ! rowspan=2 | Titolo ! width=110 colspan=2 | Prima TV ! width=110 colspan=2 | Replica #1 ! #2 ! #3 ! #4 ! #5 ...
 * -style="background:lightblue;"
 * - class="sortbottom" style="background:lightblue;"
 * - Tjcool007 (Talk) 09:37, July 29, 2011 (UTC)

Tjcool007's example in practice:

Doesn't work. The problem is that there are cells with rowspan/colspan; removing them or making them 1 makes it work:

But then the table becomes pointless, those rowspan/colspan are really needed.

I think this page http://en.wikipedia.org/wiki/Help:Sorting#Limitations has the solution to this problem but I have never worked on it so I can't help more than this. 11:49, July 29, 2011 (UTC)


 * Hmm yeah I should've tested it. It can be fixed by not adding sortbottom to the top (blue) rows, but keeping it on all the rest:


 * - Tjcool007 (Talk) 12:29, July 29, 2011 (UTC)

Thank you very much!--Cento93 14:08, July 29, 2011 (UTC)