My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Description  
One-sentence summary of this page.
Phase-Implementation, Phase-Deploy, Phase-Design
Updated Feb 4, 2010 by sull...@gmail.com

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 project member sull...@gmail.com, Sep 5, 2008

kul

Comment by vonericf...@gmail.com, Sep 5, 2011

hi, how to implement it with query? thanks in advance Regards Von


Sign in to add a comment
Powered by Google Project Hosting