comparison src/Generator/View/stubs/index.stub @ 45:c7fd31303024 default tip

merging down to default
author Luka Sitas <sitas.luka.97@gmail.com>
date Thu, 12 Nov 2026 21:19:53 -0500
parents 62953a663acc
children
comparison
equal deleted inserted replaced
34:f65ab84ee47f 45:c7fd31303024
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: ' ',