My favorites | Sign in
Project Logo
                
Search
for
Updated Nov 15, 2008 by sulleii
Labels: Phase-Implementation, Phase-Deploy, Phase-Design
Description  
One-sentence summary of this page.

Introduction

This is very simple widget for Tablesorter - a JQuery plugin; used for grouping (and optionally collapsing) rows of sorted table. All script is very simple, automated and chaotic - but works.

Installation

Widget system handling and installing is described on Tablesorter site, those instructions will be working for our widget, but will be better to set additional parameters, eg :

$("table.tablesorter").tablesorter({ 
  widgets: ['groups'],
  emptyGroupCaption: "(none)",
  collapsableGroups: true
});

Value of first extending setting (emptyGroupCaption) is used as description of empty groups, eg :

header 1 ↓ header 2
(none)
value
value
A
Abbavalue
Arrowvalue
Anythingvalue
B
Ballvalue
Birdvalue
Brrvalue

Next one (collapsableGroups) is setting ability to collapsing single group - like this :

header 1 ↓ header 2
(none)
value
value
A 3
B
Ballvalue
Birdvalue
Brrvalue

A special effect is the digit, which indicates number of collapsed rows.

kul


Comment by sulleii, Sep 05, 2008

kul


Sign in to add a comment
Hosted by Google Code