Text in dataview

Good day dear Webix comminitty members.

Is it possible to load plain text returned by GET request into dataview?

Hello,

Did you mean loading text into a certain dataview item ? Here is how it can be done:

webix.ui({
   view: "dataview",
   id: "dview",
   template: function(obj){
       return obj.value+(obj.text?("<div>"+obj.text+"</div>"):"");
   },
   ...
})
...
// set text
$$("dview").getItem("someId").text = "some text";
// redraw an item
$$("dview").refresh("someId");

DataView expects that you will load JSON ( or XML ) dataset that describes data for each item.

It do not provide a mode where each item is fetched by separate HTML request ( the template, that used for all items, can be fetched by ajax request though )