Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var data = [
- {
- "id": 1,
- "firstName": "Jan",
- "lastName": "Kowalski",
- "dateOfBirth": "1.7.1990 11:35",
- "company": "XSolve",
- "note": 90
- },
- {
- "id": 4,
- "firstName": "Justyna",
- "lastName": "Kowalska",
- "dateOfBirth": "4.02.1976 14:37",
- "company": "XSolve",
- "note": 91
- },
- {
- "id": 2,
- "firstName": "Krzysztof",
- "lastName": "Krawczyk",
- "dateOfBirth": "28.10.1950 2:15",
- "company": "Chilid",
- "note": 27
- },
- {
- "id": 3,
- "firstName": "Bogusław",
- "lastName": "Linda",
- "dateOfBirth": "03.01.1963 23:10",
- "company": "XSolve",
- "note": 50
- },
- {
- "id": 5,
- "firstName": "Krzysztof",
- "lastName": "Kononowicz",
- "dateOfBirth": "10.10.1910 18:00",
- "company": "Chilid",
- "note": 77
- },
- {
- "id": 6,
- "firstName": "Maryla",
- "lastName": "Rodowicz",
- "dateOfBirth": "29.02.1936 11:35",
- "company": "XSolve",
- "note": 8
- },
- {
- "id": 7,
- "firstName": "Edyta",
- "lastName": "Górniak",
- "dateOfBirth": "14.11.1972 06:35",
- "company": "XSolve",
- "note": 25
- },
- {
- "id": 8,
- "firstName": "Dawid",
- "lastName": "Podsiadło",
- "dateOfBirth": "23.05.1993 16:15",
- "company": "Chilid",
- "note": 19
- },
- {
- "id": 9,
- "firstName": "Elvis",
- "lastName": "Presley",
- "dateOfBirth": "09.01.1935 01:35",
- "company": "XSolve",
- "note": 8
- },
- ];
- document.addEventListener( 'DOMContentLoaded', function () {
- var test = new am.table( document.getElementById( "table-container" ), data, 5, 1, document.getElementById( "pagination-container" ) );
- } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement