This is a migrated thread and some comments may be shown as answers.
How do I un-kendo a div
1 Answer 28 Views
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 2
Steve asked on 23 Aug 2011, 02:37 PM
I have a "View" switcher which toggles the data in a div between a kendo grid and a jquery template view (listview kindof)

(calling a .empty() before the switch)

But when I switch to the jQuery template the div is still decorated with the kendo elements.  So extra jQuery to remove it all, or is there a method to do this already?...do you see issues with this scenario?

Steve

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 24 Aug 2011, 07:07 AM
Hi Steve,

 Currently there is no way to remove the kendo object from a DIV. Perhaps you can just add a nested div and make the grid out of it. Then use empty() for the parent div to clear it.

Regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Asked by
Steve
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
Share this question
or