Listedit element and description is under construction!
The Listedit element allows to edit the data in the displayed rows. Row can be added and deleted.
The Listedit element can be used with and without Ajax support. With Ajax support the rows are directly send to the server; without it, you can manage it by your own.
User manual
This are the controls:
- click in the field to edit it.
- new
- delete
- save
- drag & drop (no effect by reload)
Developer
Place a listedit element on your page
The listedit element is made with the tabulator library.
The basic tabulator data structure is extended by the list edit element:
- k8.datadefAddlistedit(settings)
The element is displayed by the function:
- k8.displaytabulator(selector,settings)
It returns a tabulator object:
- mytableTab
Editors
Automatic by listedit
Different data types need different Editors. The editors can be defined in the tabulator data structure. Without an explicit definition the listedit element automatically supports:
- input
- number
- date
- time
- datetime
Tabulator
Tabulator supports more editors:
Attention, movable rows and clicking button elements makes problems. Not every click is reaches the "cellClick" in the programm code.