Welcome to Repeater View Examples
Selected Contact: Abner GrahamThis 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 |
---|---|---|---|---|---|---|
35
|
Abner
|
Nelson
|
661-555-2784
|
836-555-4074
|
7/6/54
|
|
36
|
Abner
|
Baker
|
720-555-7502
|
840-555-7308
|
11/3/67
|
|
38
|
Abner
|
Graham
|
311-555-5228
|
531-555-3712
|
12/1/76
|
|
49
|
Abner
|
Fisher
|
773-555-8448
|
667-555-3703
|
6/16/60
|
|
40
|
Brianna
|
Baker
|
287-555-5627
|
584-555-3638
|
4/2/63
|
|
23
|
Christopher
|
Nelson
|
521-555-8470
|
467-555-6022
|
4/5/78
|
|
42
|
Christopher
|
Smiith
|
863-555-6526
|
802-555-7085
|
5/30/66
|
|
50
|
Christopher
|
Brown
|
768-555-4315
|
884-555-8784
|
8/5/66
|
|
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 |
---|---|---|---|---|---|---|
35
|
Abner
|
Nelson
|
661-555-2784
|
836-555-4074
|
7/6/54
|
|
36
|
Abner
|
Baker
|
720-555-7502
|
840-555-7308
|
11/3/67
|
|
38
|
Abner
|
Graham
|
311-555-5228
|
531-555-3712
|
12/1/76
|
|
49
|
Abner
|
Fisher
|
773-555-8448
|
667-555-3703
|
6/16/60
|
|
40
|
Brianna
|
Baker
|
287-555-5627
|
584-555-3638
|
4/2/63
|
|
23
|
Christopher
|
Nelson
|
521-555-8470
|
467-555-6022
|
4/5/78
|
|
42
|
Christopher
|
Smiith
|
863-555-6526
|
802-555-7085
|
5/30/66
|
|
50
|
Christopher
|
Brown
|
768-555-4315
|
884-555-8784
|
8/5/66
|