This is a migrated thread and some comments may be shown as answers.

Grid initialization in AngularJS

3 Answers 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gaurav
Top achievements
Rank 1
Gaurav asked on 23 Nov 2016, 08:23 AM

I am trying to initialize kendo-grid however I am getting strange error which is not traceable.

I have splitter in the page which was working. When I add the grid, I get following error in console.

angular.js:12450 TypeError: Cannot read property 'removeAttribute' of undefined
    at link (http://localhost:8080/dv/SiteOptimizer/libs/telerik.kendoui.professional.2015.3.1111.commercial/js/kendo.custom.min.js:9:50947)
    at $ (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:73:89)
    at K (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:62:39)
    at h (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:54:410)
    at h (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:54:433)
    at h (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:54:433)
    at h (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:54:433)
    at h (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:54:433)
    at http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:53:480
    at http://localhost:8080/dv/SiteOptimizer/libs/angular-ui-router.min.js:7:23478 

Strangely when I remove splitter and add only the grid, it works fine.

Can you help me with what is happening here?

3 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 24 Nov 2016, 09:48 AM
Hi Gaurav,

I tried to reproduce the issue on our side but to no avail - everything is working as expected. Could you please check the following demo and modify it to reproduce the issue? This would help me pinpoint the exact reason for the described behavior.

Regards,
Vladimir Iliev
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
0
Gaurav
Top achievements
Rank 1
answered on 28 Nov 2016, 06:56 PM

hi, Unfortunately I am not sure what is causing it. But I think initialization is failing.

I could not reproduce it either. I did exactly the same thing i.e. assigning the options/k-options.

I am attaching the stack trace. Please see if you can provide some clue whats happening here.

0
Vladimir Iliev
Telerik team
answered on 29 Nov 2016, 11:12 AM
Hi Gaurav,

From the provided information it's not clear for us what might be causing the issue. That why I could only suggest to try using the complete Kendo UI (kendo.all.min.js) script instead of the custom one that you currently use and let me know of the result.

Regards,
Vladimir Iliev
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Tags
Grid
Asked by
Gaurav
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Gaurav
Top achievements
Rank 1
Share this question
or