Welcome to Repeater View Examples
Selected Contact: Abner SmiithThis 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 |
---|---|---|---|---|---|---|
42
|
Abby
|
Nelson
|
457-555-4152
|
776-555-1756
|
9/6/72
|
|
48
|
Abby
|
Baker
|
815-555-4831
|
572-555-5281
|
3/11/63
|
|
37
|
Abner
|
Davis
|
835-555-2845
|
421-555-1355
|
6/14/62
|
|
46
|
Abner
|
Smiith
|
275-555-2417
|
486-555-7051
|
6/28/75
|
|
6
|
Brianna
|
Bailey
|
274-555-8432
|
722-555-1402
|
8/14/70
|
|
5
|
Debra
|
Bailey
|
642-555-7658
|
465-555-6166
|
7/2/70
|
|
9
|
Debra
|
Jones
|
212-555-5700
|
624-555-8444
|
5/26/52
|
|
47
|
Debra
|
Rose
|
815-555-6174
|
872-555-7402
|
8/6/50
|
|
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 |
---|---|---|---|---|---|---|
42
|
Abby
|
Nelson
|
457-555-4152
|
776-555-1756
|
9/6/72
|
|
48
|
Abby
|
Baker
|
815-555-4831
|
572-555-5281
|
3/11/63
|
|
37
|
Abner
|
Davis
|
835-555-2845
|
421-555-1355
|
6/14/62
|
|
46
|
Abner
|
Smiith
|
275-555-2417
|
486-555-7051
|
6/28/75
|
|
6
|
Brianna
|
Bailey
|
274-555-8432
|
722-555-1402
|
8/14/70
|
|
5
|
Debra
|
Bailey
|
642-555-7658
|
465-555-6166
|
7/2/70
|
|
9
|
Debra
|
Jones
|
212-555-5700
|
624-555-8444
|
5/26/52
|
|
47
|
Debra
|
Rose
|
815-555-6174
|
872-555-7402
|
8/6/50
|