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

Knockout integration error


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

3 Replies

MK Mahalakshmi Karthikeyan Syncfusion Team September 17, 2015 11:33 AM UTC

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


Mahalakshmi K.

RD Rafael Delanhese September 17, 2015 11:50 AM UTC

Thanks so much, now it work's

MK Mahalakshmi Karthikeyan Syncfusion Team September 18, 2015 11:15 AM UTC

Hi Rafael,

Thanks for the update.

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


Mahalakshmi K.

Live Chat Icon For mobile
Up arrow icon