hello,dear
my code:
var data = webix.ajax().post("\data.php");
webix.ui(
{
view:“combo”,
options:data
}
);
that problem is combo select empty
webix.ui(
{
view:“combo”,
options:"\data.php"
}
);
that is OK,why?
hello,dear
my code:
var data = webix.ajax().post("\data.php");
webix.ui(
{
view:“combo”,
options:data
}
);
that problem is combo select empty
webix.ui(
{
view:“combo”,
options:"\data.php"
}
);
that is OK,why?
You need to return some data from webix.ajax().post
:
http://webix.com/snippet/0c1da4f2
Please check the related article: http://docs.webix.com/helpers__ajax_operations.html
woo,very good! by the way , how can I filter the combo select ?
You can use the onBeforeShow
event within the suggest (popup) to filter the inner list:
ok,thank you