Webix + something + node.js + mysql

Hi Folks,
I’m new to Webix (and javascript) and I would like so much to learn how to make Webix read data from a MySQL database. I’m planning to use Node.js on the server side to connect with MySQL.

Could anybody share a code snippet with me?
Warm regards,
Christian

Hello @chriseana !

Webix is a client side library, so it doesn’t insist on any particular backend.

You can have any server-side script (including nodejs one) that will fetch data from MySQL DB and output it as JSON or XML. Data widgets can automatically call this script, provided that it is set as its url parameter.

{ view:"datatable", url:"myscript"}

The response data of the given script will be parsed into the widget.

Here is more information about Webix loading pattern: https://docs.webix.com/desktop__data_loading.html

Thank you so much @Nastja !