Line 62: | Line 62: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$('#courses').DataTable({ | $('#courses').DataTable({ | ||
− | + | ajax: "pubs.json", | |
+ | columns: [ | ||
+ | { data: 'authors' }, | ||
+ | { data: 'title' }, | ||
+ | { data: 'date' }, | ||
+ | { data: 'type' }, | ||
+ | { data: 'venue' }, | ||
+ | { data: 'extra' } | ||
+ | ], | ||
autoWidth: false, | autoWidth: false, | ||
lengthMenu: [[-1], ["All"]], | lengthMenu: [[-1], ["All"]], | ||
Line 69: | Line 77: | ||
'excel', 'pdf' | 'excel', 'pdf' | ||
] | ] | ||
− | |||
− | |||
− | |||
}); | }); | ||
/*if(screen.width <= 768){ | /*if(screen.width <= 768){ |
Authors | Title | Date | Type | Venue | Volume/Issue/Pages Details |
---|