Data Tables
Often times when you see a table it contains data which is sortable -- sometimes with actions that can be taken within each row (e.g. edit, delete). And it can be challenging to automate interaction with sets of data in a table depending on how it is constructed.
Example 1
No Class or ID attributes to signify groupings of rows and columns
| Last Name | First Name | Due | Web Site | Action | |
|---|---|---|---|---|---|
| Smith | John | [email protected] | $50.00 | http://www.jsmith.com | edit delete |
| Bach | Frank | [email protected] | $51.00 | http://www.frank.com | edit delete |
| Doe | Jason | [email protected] | $100.00 | http://www.jdoe.com | edit delete |
| Conway | Tim | [email protected] | $50.00 | http://www.timconway.com | edit delete |
Example 2
Class and ID attributes to signify groupings of rows and columns
| Last Name | First Name | Due | Web Site | Action | |
|---|---|---|---|---|---|
| Smith | John | [email protected] | $50.00 | http://www.jsmith.com | edit delete |
| Bach | Frank | [email protected] | $51.00 | http://www.frank.com | edit delete |
| Doe | Jason | [email protected] | $100.00 | http://www.jdoe.com | edit delete |
| Conway | Tim | [email protected] | $50.00 | http://www.timconway.com | edit delete |