You are here: Foswiki>Tasks Web>Item11687 (21 Dec 2014, GeorgeClark)Edit Attach

Item11687: TablePlugin ignoring footerrows when sorting columns

pencil
Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: TablePlugin
Branches:
Reported By: TimWest
Waiting For:
Last Change By: GeorgeClark
Just upgraded from Foswiki-1.1.2 to 1.1.4 with TablePlugin 1.138.

Have a table with footerrows="1" which displays OK without any columns sorted. When you sort any of the columns, the footer row appears mid table according to the sort order.

-- TimWest - 22 Mar 2012

I've now upgraded to 1.1.7 with TablePlugin 1.141 and this still doesn't work. Can someone please look into it

-- TimWest - 04 Feb 2013

I've done a bit of debugging and it appears to be related to column spanning. Without column spanning it works OK, the footer is at the bottom:

COL1 COL2
COL1 COL2
A ROW1 A ROW1
B ROW1 B ROW1
D ROW1 D ROW1
E ROW1 E ROW1

With column spanning, the footer line appears in the middle of the table:

COL1 COL2
A ROW1 A ROW1
B ROW1 B ROW1
COL1
D ROW1 D ROW1
E ROW1 E ROW1

Looking at the HTML, with column spanning there is no tfoot section.

Hope this helps.

-- TimWest - 04 Feb 2013

This is fixed by moving from TablePlugin to client side sorting with the JQTablePlugin. But marking confirmed as it does fail.

-- GeorgeClark - 21 Dec 2014
 

ItemTemplate edit

Summary TablePlugin ignoring footerrows when sorting columns
ReportedBy TimWest
Codebase 1.1.7, 1.1.4
SVN Range
AppliesTo Extension
Component TablePlugin
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r4 - 21 Dec 2014, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy