comparison src/Generator/View/stubs/index.stub @ 42:62953a663acc ls_dev_2025_09

changes for stubs around the base controller and filters, aswell as pagination
author luka
date Thu, 12 Nov 2026 21:17:11 -0500
parents 45f384a24553
children
comparison
equal deleted inserted replaced
41:59eb5b4424ca 42:62953a663acc
26 document.addEventListener('DOMContentLoaded', function() { 26 document.addEventListener('DOMContentLoaded', function() {
27 const el = document.getElementById('my-table'); 27 const el = document.getElementById('my-table');
28 if (el) { 28 if (el) {
29 new ServerTable(el, { 29 new ServerTable(el, {
30 endpoint: '/{{ tableName }}/get_data', 30 endpoint: '/{{ tableName }}/get_data',
31 filters: Object.fromEntries(new URLSearchParams(location.search)),
31 columns: [ 32 columns: [
32 {{ columnInsertPoint }} 33 {{ columnInsertPoint }}
33 { 34 {
34 name: 'actions', 35 name: 'actions',
35 label: ' ', 36 label: ' ',