This demo shows the following capabilities:
- Table is dynamically created from JSON-file, which is loaded using inbuild ajax method
- Item quantity text is customized
- By default the data is sorted by "last name" column
- Sorting by "age" is disabled and custom class is added to those cells
- Sorting start/end trigger callbacks (see console)
- Items per page is set to 5
ID |
First name |
Last name |
Grade |
Grade 2 |
Efficiency |
Age |
Company |
Note. You can sort by multiple fields by shift clicking them. View page source to see how table is implemented.