# tablesorter

## Filter widget with child rows (+ Grouping)

### Flexible client-side table sorting

Back to documentation

NOTE!

- Added `filter_childWithSibs` in v2.23.4, to see what it does:
  - Search the "Stock" (
    ) or "Price" (
    ) column.
  - Use the "Toggle" button to change the setting.
  - When `filter_childWithSibs` is `false`, only the child rows that match the filter are visible.
  - When it is `true`, all sibling child rows will be visible.
  - The parent row will always be visible.

# Demo

`filter_childWithSibs` : `false`

| Country | Stock | Price
--- | --- | --- | ---
Good Toys | USA | 80% | $2
Widget A | USA | 22% | $5
Widget B | USA | 10% | $55
Widget C | USA | 9% | $52
Cycle Clearance | FRANCE | 80% | $7
Widget 3 | FRANCE | 11% | $3
Widget 4 | FRANCE | 45% | $25
Widget 0 | FRANCE | 21% | $32
François Cycle | FRANCE | 20% | $4
Widget 77 | FRANCE | 21% | $17
Widget 64 | FRANCE | 22% | $22
Cycle Initial Bike Company | USA | 36% | $3
Widget 1 | USA | 72% | $74
Widget 2 | USA | 42% | $95
Widget 5 | USA | 54% | $53
Widget 7 | USA | 66% | $34
Sports Store | USA | 24% | $8
Widget 99 | USA | 85% | $64
Widget 31 | USA | 31% | $35
Widget 44 | USA | 62% | $23
Widget 12 | USA | 53% | $51
Lucky Toys | UK | 54% | $6
Widget Z | UK | 35% | $44
Widget Y | UK | 31% | $45
Widget X | UK | 32% | $43
Widget W | UK | 33% | $41
Locks Company | UK | 64% | $9
Widget T | UK | 15% | $64
Widget V | UK | 11% | $65

# Script

# CSS

# HTML