mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
use sortable table on Roll Results page
(cherry picked from commit 32d8f33932d913154989e41c940ba24adc98a881)
This commit is contained in:
9
WebHostLib/static/assets/autodatatable.js
Normal file
9
WebHostLib/static/assets/autodatatable.js
Normal file
@@ -0,0 +1,9 @@
|
||||
window.addEventListener('load', () => {
|
||||
let tables = $(".autodatatable").DataTable({
|
||||
"paging": false,
|
||||
"ordering": true,
|
||||
"info": false,
|
||||
"dom": "t",
|
||||
});
|
||||
console.log(tables);
|
||||
});
|
Reference in New Issue
Block a user