Web App with Grid.js
📌
For the demonstration, the example table should be created in advance.
CREATE TAG TABLE IF NOT EXISTS EXAMPLE (
NAME VARCHAR(20) PRIMARY KEY,
TIME DATETIME BASETIME,
VALUE DOUBLE SUMMARIZED
);
This example shows how to utilize grid library with data from machbase-neo.
- line 18,19, Embed Grid.js library.
- line 29,30, Assign columns and data fields from the result JSON.
- line 37, Update data when user request refresh the grid.
|
|
Last updated on