svghmi/widget_jsontable.ysl2
branchsvghmi
changeset 3065 c369a742443d
parent 3048 d46d545ff7b7
child 3066 d7b9c2ceb3fb
--- a/svghmi/widget_jsontable.ysl2	Mon Oct 19 09:29:11 2020 +0200
+++ b/svghmi/widget_jsontable.ysl2	Mon Oct 19 10:15:26 2020 +0200
@@ -3,11 +3,12 @@
 template "widget[@type='JsonTable']", mode="widget_class"
     ||
     class JsonTableWidget extends Widget{
-        cache = [];
+        cache = [100,50];
         do_http_request(...opt) {
             const query = {
                 args: this.args,
-                vars: this.cache,
+                range: this.cache[1],
+                position: this.cache[2],
                 visible: this.visible,
                 options: opt
             };