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
Show whitespace changes
Inline Side-by-side
ajaxTables.md
View page @ dcbafe26
## Object functions
## ajaxTable.php
\
**function ajaxTable(object: $sqlParams, \[object: $tableParams\]) {}**
> `ajaxTable($sqlParams, $tableParams) { $sqlParams = array_merge( array('db' => '', 'table' => '', 'columns' => '', 'offset' => '', 'limit' => ''), $sqlParams ); $tableParams = array_merge( array('caption' => '', 'columnNames' => $sqlParams['columns'], 'preview' => 3, 'expanded' => false, 'href' => true, 'totalrecords' => true, 'add' => true), $tableParams ); }`
## ajaxTables.js
### Object init
### Object functions
**get Dataset() { return this.element.dataset; }**
......@@ -13,3 +24,6 @@ Returns the index of the current Object
**get Data() { return JSON.parse(this.data); }**
Returns the data of the current Object in JSON format
\
**eventReceiver(e, i) {}**
\ No newline at end of file
Clone repository
  • WikiWFS
  • ajaxMenus
  • ajaxTables
  • Home