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. Image for the cookie policy date
close icon

Multiple treegrids

I have two Tree Grids and both of them works fine but if I try load them both I get error: Cannot read property 'length' of undefined (ej.web.all.min.js:10). Some times error might be also from "slice" insted of length. How to use datamanager with multiple components?

            $("#List1").ejTreeGrid({dataSource: ej.DataManager({ url: "/Data1", adaptor: new ej.UrlAdaptor() })});
            $("#List2").ejTreeGrid({dataSource: ej.DataManager({ url: "/Data2", adaptor: new ej.UrlAdaptor() })});

1 Reply

MK Mahalakshmi Karthikeyan Syncfusion Team July 3, 2015 12:22 PM UTC

Hi Niko,

Sorry for the inconvenience caused.

For your kind information, we can load remote data source to the TreeGrid control using ejDataManager with the help url in Javascript. Currently there is no support to update the changes to the remote Data Source using remoteSaveAdaptor/ UrlAdaptor.

Hence we have also logged a feature regarding this. A support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

Please let us know if you require further assistance on this.

Regards,

Mahalakshmi K.


Loader.
Live Chat Icon For mobile
Up arrow icon