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.
Unfortunately, activation email could not send to your email. Please try again.

Multiple treegrids

Thread ID:

Created:

Updated:

Platform:

Replies:

119514 Jul 2,2015 07:18 AM Jul 3,2015 08:22 AM JavaScript 1
loading
Tags: ejTreeGrid
Niko Autio
Asked On July 2, 2015 07:18 AM

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 08:22 AM

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.


CONFIRMATION

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.

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.

;