Welcome to Repeater View Examples
Selected Contact: Douglas ClarkThis 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 |
---|---|---|---|---|---|---|
2
|
Abner
|
Fisher
|
355-555-5812
|
623-555-7112
|
6/14/63
|
|
4
|
Brianna
|
Baker
|
642-555-4124
|
713-555-4271
|
7/23/63
|
|
49
|
Brianna
|
Clark
|
341-555-7631
|
560-555-5804
|
11/26/64
|
|
23
|
Debra
|
Davis
|
484-555-6533
|
546-555-4747
|
9/3/74
|
|
48
|
Debra
|
Smiith
|
521-555-7358
|
458-555-6123
|
8/20/71
|
|
8
|
Douglas
|
Hall
|
635-555-4530
|
472-555-1574
|
4/22/52
|
|
9
|
Douglas
|
Baker
|
272-555-2464
|
684-555-7061
|
10/8/84
|
|
47
|
Douglas
|
Clark
|
644-555-3883
|
577-555-3685
|
5/3/63
|
|
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 |
---|---|---|---|---|---|---|
2
|
Abner
|
Fisher
|
355-555-5812
|
623-555-7112
|
6/14/63
|
|
4
|
Brianna
|
Baker
|
642-555-4124
|
713-555-4271
|
7/23/63
|
|
49
|
Brianna
|
Clark
|
341-555-7631
|
560-555-5804
|
11/26/64
|
|
23
|
Debra
|
Davis
|
484-555-6533
|
546-555-4747
|
9/3/74
|
|
48
|
Debra
|
Smiith
|
521-555-7358
|
458-555-6123
|
8/20/71
|
|
8
|
Douglas
|
Hall
|
635-555-4530
|
472-555-1574
|
4/22/52
|
|
9
|
Douglas
|
Baker
|
272-555-2464
|
684-555-7061
|
10/8/84
|
|
47
|
Douglas
|
Clark
|
644-555-3883
|
577-555-3685
|
5/3/63
|