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

Multiple treegrids

Thread ID:





119514 Jul 2,2015 11:18 AM UTC Jul 3,2015 12:22 PM UTC JavaScript 1
Tags: ejTreeGrid
Niko Autio
Asked On July 2, 2015 11:18 AM UTC

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() })});

Mahalakshmi Karthikeyan [Syncfusion]
Replied On 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.


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


Mahalakshmi K.


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

This page will automatically be redirected to the 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