Agility Kata „Viewing CSV Files II“
Extend the CSV viewer application in the following way:
- Each data record should be preceded by a record number.
- Show which page is displayed out of how many in total below the table.
- Let the user jump to a page by entering its number.
The display should look like this:
No.|Name |Age|City |
1.|Peter|42 |New York|
2.|Paul |57 |London |
3.|Mary |35 |Munich |
Page 1 of 3
N(ext page, P(revious page, F(irst page, L(ast page, J(ump to page, eX(it