hello I would consume data to the URL example:
http://52.67.53.54:8080/api/index.php/usuarios
------------
but I complements the url with parmas []
http://52.67.53.54:8080/api/index.php/usuarios/?params=[object%20Object]
so I can not consume data url
Thank you
I use php and javascript
------------
<script>
//var treeGridDataSource = ;
//var treeGridDataSource = ej.DataManager({ url: "http://52.67.53.54:8080/api/index.php/usuarios",
//var treeGridDataSource = ej.DataManager({ url: "http://mvc.syncfusion.com/UGService/api/Orders", crossDomain: true, adaptor: new ej.WebApiAdaptor() });
var promise = ej.DataManager({ url: "http://52.67.53.54:8080/api/index.php/usuarios",
offline: true });
var treeGridDataSource = ej.DataManager({ json: records,
adaptor: new ej.remoteSaveAdaptor(),
//url: "http://52.67.53.54:8080/api/index.php/usuarios",
updateUrl: "Home/Update",
insertUrl:"Home/Insert",
removeUrl: "Home/Remove",
offline:false });
$(function () {
$("#TreeGridContainer").ejTreeGrid({
dataSource: treeGridDataSource,
//childMapping: "subtasks",
columns: [
{ field: "id_usuario", headerText: "id_usuario" },
{ field: "email", headerText: "email"},
{ field: "contrasena", headerText: "contrasena" },
{ field: "profesion", headerText: "profesion"},
{ field: "cargo", headerText: "cargo"}
]
});
});
</script>