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.
Syncfusion Feedback

Knockout integration error

Thread ID:

Created:

Updated:

Platform:

Replies:

120274 Sep 16,2015 10:40 AM Sep 18,2015 07:15 AM ASP.NET MVC 3
loading
Tags: TreeGrid
Rafael Delanhese
Asked On September 16, 2015 10:40 AM


Hello,

I'm using the TreeGrid control with the Knockout.js library and when I try use the drag and drop feature the following exception occur and the drag and drop doesn't work.

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined

Am I missing something?

Please refer for the attached sample for more details. 

Attachment: SyncFusionTreeGridExampleKnockOut_fc064944.zip

Mahalakshmi Karthikeyan [Syncfusion]
Replied On September 17, 2015 07:33 AM

Hi Rafael,

We have analyzed the sample you have provided and came to know that you have missed the id for TreeGrid control. Since we are validating with the control id we must mention it in the sample. Please refer the below code example for details.

<div id="TreeGrid" data-bind="ejTreeGrid: {

//…

}">

We have also modified your sample for your convenience. You can find the sample under the following location.

Sample: http://www.syncfusion.com/downloads/support/forum/120274/ze/SyncFusionTreeGridExample-1171076286

Regards,

Mahalakshmi K.


Rafael Delanhese
Replied On September 17, 2015 07:50 AM

Thanks so much, now it work's

Mahalakshmi Karthikeyan [Syncfusion]
Replied On September 18, 2015 07:15 AM

Hi Rafael,

Thanks for the update.

Please let us know if you need 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.

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

;