The codes not run well on snippet

My codes not run well in snippet. But if I run it on my local dev, its run well.
the formtable not show the values after I use SetValues() method. I have checked the json response it show the same format as my local dev.

I want ask something, but the problem above not resolved yet.

https://snippet.webix.com/wedt2i6m

thd for helping

Hello @frizky,

My codes not run well in snippet. But if I run it on my local dev, its run well.

Is the code you are running locally exactly the same as the one shown in the snippet? As far as I can see, the issue stems from the wrong call of the setValues() method. In order for the method to work, you have to specify the name of the form field first, and then pass on the object with the required data. So instead of:

    this.$$("form_input").setValues({
      id:values[0].id,
      value:values[0].value, 
      chapter:values[0].chapter
    });

You would do something like this:

    this.$$("form_input").setValues({
      client: {
        id:values[0].id,
        value:values[0].value, 
        chapter:values[0].chapter
      } 
    }); 

Please take a look at the end result: https://snippet.webix.com/b75p0izx.