Adding post parameters to activeList's URL

Hi, I am using the activeList view with a URL:

{
id:“lib_list”,
view:“activeList”,
url:“webix/test”,

}

it works fine but I wonder if there is any way of adding POST parameters when the URL is called. If there is no way to do so, how can I substitute my own function to the URL parameter for calling the remote data?

Thanks

Hello,

You can issue your own Ajax request with webix.ajax() interface and parse the data into the list in a callback:

webix.ui({
       view:"list", id:"mylist", ..list config
});

webix.ajax().post("data.php", { a:"info", id:123 }, function(text, xml, xhr){
     $$("mylist").parse(text);
});

//or
webix.ajax().post("data/data.php","a=info&id=123", function(text, xml, xhr){
      $$("$mylist").parse(text);
});

Docs on Webix Ajax operations:
http://localhost/webix/_dev/docs/helpers__ajax_operations.html

Thanks a lot!