We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

rest api

Thread ID:





126179 Sep 28,2016 08:14 PM UTC Oct 17,2016 01:21 PM UTC JavaScript 3
Tags: ejTreeGrid
andres patiño
Asked On September 28, 2016 08:14 PM UTC

hello I would consume data to the URL example:

but I complements the url with parmas [][object%20Object]
so I can not consume data url
Thank you
I use php and javascript

            //var treeGridDataSource = ;
            //var treeGridDataSource = ej.DataManager({ url: "", 
//var treeGridDataSource = ej.DataManager({ url: "http://mvc.syncfusion.com/UGService/api/Orders", crossDomain: true, adaptor: new ej.WebApiAdaptor() });
var promise = ej.DataManager({ url: "", 
offline: true });
var treeGridDataSource = ej.DataManager({ json: records, 
adaptor: new ej.remoteSaveAdaptor(), 
//url: "",
updateUrl: "Home/Update",
removeUrl: "Home/Remove", 
offline:false });

        $(function () {
                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"}

Jonesherine Stephen [Syncfusion]
Replied On September 29, 2016 03:39 PM UTC

Hi Andres, 
Thanks for contacting Syncfusion support. 
We have prepared the workaround and populated the data source in TreeGrid using ejQuery and ejDataManager. 
Please find the code example below: 
<script type="text/javascript"> 
        $(function () { 
            var promise = ej.DataManager({ 
                url: "", 
                crossDomain: true 
                dataSource: promise, 
                query: ej.Query().from("usuarios"),                      
We have also prepared the sample for your reference. Please find the sample from below link. 
Please find our Knowledge base to perform the CRUD operation in TreeGrid using PHP 
Please let us know if you need further assistance on this 
Jone sherine P S 

andres patiño
Replied On October 15, 2016 02:46 PM UTC

Syncfusion updated to version and the connection to the database did not work. What would the connection now ?, I find no documentation. Thank you

Jonesherine Stephen [Syncfusion]
Replied On October 17, 2016 01:21 PM UTC

Hi Andres, 
We regret about the inconvenience caused. 
Please share us the details regarding database you are using and also the sample based on your application along with the replication procedure. It will be very helpful for us to understand your requirement clearly and update the response. 
Please let us know if you need more information on this.   
Jone sherine P S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon