Welcome to Repeater View Examples
Selected Contact: No Contact SelectedThis 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 |
---|---|---|---|---|---|---|
7
|
Abby
|
Cruz
|
283-555-3636
|
616-555-7462
|
6/8/77
|
|
12
|
Abby
|
Allen
|
264-555-3867
|
736-555-4758
|
5/15/63
|
|
24
|
Abby
|
Allen
|
621-555-3053
|
883-555-7007
|
10/29/72
|
|
20
|
Abner
|
Johnson
|
566-555-6843
|
211-555-2142
|
6/12/51
|
|
21
|
Abner
|
Johnson
|
325-555-5152
|
368-555-3188
|
3/7/53
|
|
45
|
Abner
|
Wilson
|
641-555-1305
|
211-555-1754
|
5/7/53
|
|
17
|
Christopher
|
Williams
|
242-555-2341
|
237-555-4827
|
4/1/81
|
|
8
|
Douglas
|
Ortiz
|
811-555-5855
|
560-555-6143
|
8/19/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 |
---|---|---|---|---|---|---|
7
|
Abby
|
Cruz
|
283-555-3636
|
616-555-7462
|
6/8/77
|
|
12
|
Abby
|
Allen
|
264-555-3867
|
736-555-4758
|
5/15/63
|
|
24
|
Abby
|
Allen
|
621-555-3053
|
883-555-7007
|
10/29/72
|
|
20
|
Abner
|
Johnson
|
566-555-6843
|
211-555-2142
|
6/12/51
|
|
21
|
Abner
|
Johnson
|
325-555-5152
|
368-555-3188
|
3/7/53
|
|
45
|
Abner
|
Wilson
|
641-555-1305
|
211-555-1754
|
5/7/53
|
|
17
|
Christopher
|
Williams
|
242-555-2341
|
237-555-4827
|
4/1/81
|
|
8
|
Douglas
|
Ortiz
|
811-555-5855
|
560-555-6143
|
8/19/60
|