Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • W wikiwfs.geo.uu.nl
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • System Projects
  • wikiwfs
  • wikiwfs.geo.uu.nl
  • Wiki
  • ajaxTables

ajaxTables · Changes

Page history
Update ajaxTables authored Sep 30, 2021 by 3537390's avatar 3537390
Hide whitespace changes
Inline Side-by-side
ajaxTables.md
View page @ 5db04cff
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
\ \
**function ajaxTable(object: $sqlParams, \[object: $tableParams\]) {}** **function ajaxTable(object: $sqlParams, \[object: $tableParams\]) {}**
**PHP**
```plaintext ```plaintext
ajaxTable($sqlParams, $tableParams) { ajaxTable($sqlParams, $tableParams) {
...@@ -33,6 +34,7 @@ ajaxTable($sqlParams, $tableParams) { ...@@ -33,6 +34,7 @@ ajaxTable($sqlParams, $tableParams) {
### Object init ### Object init
**HTML**
```plaintext ```plaintext
<table class="table table-hover table-ajax <table class="table table-hover table-ajax
data-ajax="" String data-ajax="" String
...@@ -51,6 +53,7 @@ ajaxTable($sqlParams, $tableParams) { ...@@ -51,6 +53,7 @@ ajaxTable($sqlParams, $tableParams) {
></table> ></table>
``` ```
**JavaScript**
```plaintext ```plaintext
element.dataset.ajax = String: "table"; element.dataset.ajax = String: "table";
element.dataset.url = String: "https://wikiwfs.geo.uu.nl/api"; element.dataset.url = String: "https://wikiwfs.geo.uu.nl/api";
......
Clone repository

Home
ajaxMenus
ajaxTables