Commit 8d92e419 authored by Mat's avatar Mat

wip.. paramètres du readPaginate

parent f580bfde
......@@ -85,6 +85,11 @@
let submitURL = null;
let step = 10;
let page = 1;
let col = 'id';
let order = 'ASC';
let table = document.querySelector('table#maintab.membres');
let tbody = table.querySelector('tbody');
......@@ -210,10 +215,16 @@
form);
});
let stepform = document.querySelector('form#pagination');
stepform.addEventListener('change', function(e) {
console.log('change pagination');
});
let columns = ['id', 'firstname', 'lastname', 'email'];
columns.forEach(function(column) {
column.addEventListener
column.addEventListener('click', function(e) {
console.log('toggle column');
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment