Welcome to Repeater View Examples
Selected Contact: Abby BrownThis is a demo of the DataTable (DataView wrapper). Provided features:
- Easy ordering and selection of columns from code
- Takes care of sorting headers automatically
- Takes care of page navigator automatically
- Takes care of adding class="odd" and class="even" to table rows
- Adds a navigator message
- Different CSS class for certain columns
- Export to CSV toolbar
Actions | ID | First Name | Last Name | Home Phone | Cell Phone | Birthday |
---|---|---|---|---|---|---|
12
|
Abby
|
Brown
|
754-555-1077
|
476-555-1606
|
12/17/58
|
|
49
|
Abby
|
Baker
|
820-555-2787
|
520-555-6222
|
1/14/63
|
|
9
|
Abner
|
Gomez
|
558-555-5418
|
356-555-4352
|
5/16/73
|
|
50
|
Abner
|
Clark
|
424-555-3814
|
377-555-8523
|
2/21/60
|
|
18
|
Christopher
|
Jones
|
447-555-3085
|
385-555-6018
|
4/7/61
|
|
20
|
Christopher
|
Moore
|
508-555-3616
|
545-555-5574
|
3/22/59
|
|
4
|
Debra
|
Murray
|
212-555-1703
|
447-555-2587
|
11/4/59
|
|
14
|
Debra
|
Wilson
|
882-555-5376
|
732-555-3466
|
3/24/60
|
|
Export to CSV |
This is a table that uses org.apache.wicket.extensions.markup.html.repeater.data.table.ColGroup to style the columns:
Actions | ID | First Name | Last Name | Home Phone | Cell Phone | Birthday |
---|---|---|---|---|---|---|
12
|
Abby
|
Brown
|
754-555-1077
|
476-555-1606
|
12/17/58
|
|
49
|
Abby
|
Baker
|
820-555-2787
|
520-555-6222
|
1/14/63
|
|
9
|
Abner
|
Gomez
|
558-555-5418
|
356-555-4352
|
5/16/73
|
|
50
|
Abner
|
Clark
|
424-555-3814
|
377-555-8523
|
2/21/60
|
|
18
|
Christopher
|
Jones
|
447-555-3085
|
385-555-6018
|
4/7/61
|
|
20
|
Christopher
|
Moore
|
508-555-3616
|
545-555-5574
|
3/22/59
|
|
4
|
Debra
|
Murray
|
212-555-1703
|
447-555-2587
|
11/4/59
|
|
14
|
Debra
|
Wilson
|
882-555-5376
|
732-555-3466
|
3/24/60
|