You are here: Foswiki>Tasks Web>Item11083 (17 Dec 2011, GeorgeClark)Edit Attach

Item11083: Table should sort if sort is off but initsort has a column number

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.4
Target Release: patch
Applies To: Extension
Component: TablePlugin
Branches:
Reported By: ArthurClemens
Waiting For:
Last Change By: GeorgeClark
It is debatable what sort="off" exactly means, but the description in VarTABLE says Set table sorting by clicking headers "on" or "off".. Meaning that this is an interface option only.

If you want to sort the table without that user interface, you should be able to specify:
%TABLE{sort="off" initsort="1" initdirection="down"}%
For example:
A B
a b
f f
z q

Currently (1.1.3) the table is not sorted.

-- ArthurClemens - 27 Aug 2011

 

ItemTemplate edit

Summary Table should sort if sort is off but initsort has a column number
ReportedBy ArthurClemens
Codebase 1.1.3, trunk
SVN Range
AppliesTo Extension
Component TablePlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:99e358d9059d distro:0af36a5493bc
TargetRelease patch
ReleasedIn 1.1.4
Topic revision: r4 - 17 Dec 2011, 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