Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/al-muhandis/datatable-demo

A simple almost minimal example of how you can work with a jQuery table from the Lazarus program
https://github.com/al-muhandis/datatable-demo

ajax datatables demo example freepascal httpserver lazarus web

Last synced: 20 days ago
JSON representation

A simple almost minimal example of how you can work with a jQuery table from the Lazarus program

Awesome Lists containing this project

README

        

# dataTable-demo
A simple almost minimal example of how you can work with a jQuery table from the Lazarus program. DataSource is from firebird or SQLite3 database

# demo.ini
Just create `demo.ini` and write settings in it
```ini
[DB]
;; DB host, for example: localhost, 127.0.0.1, sample.com
host=localhost
;; DB name. For TSQLConnection.DatabaseName
name=.\sample.sqlite3
user=sysdba
password=masterkey
driver=SQLite3

[Table]
Name=employee
col0=id
col1=Empid
col2=EmpName
col3=EmpJoiningDate
col4=Salary
col5=Address
ColCount=6
SearchCol=2
```

# Frontend
The template is used as a frontend framework `sb-admin` https://github.com/startbootstrap/startbootstrap-sb-admin/
The JS frameworks: jQuery, dataTables https://datatables.net, celledit https://github.com/ejbeaty/CellEdit
It can be used for that any other

# demo video

[![Watch the video](https://img.youtube.com/vi/RD104mPfl20/hqdefault.jpg)](https://www.youtube.com/embed/RD104mPfl20)