i just need to make kendo menu with data source(json). but currently impossible. so i tried to create html list dynamically and bind the data set (ul ID="menu") and call from kendomenu function. html list added to page correctly but menu not populate. have any idea..?
4 Answers, 1 is accepted
0
Hi Chathuranga,
We will need some sample code in order to reproduce your issue and help you fix it.
Please note, that while you can't init the Kendo Menu from a DataSource, you can still use a JSON object to initialize it.
Kind regards,
Kamen Bundev
the Telerik team
We will need some sample code in order to reproduce your issue and help you fix it.
Please note, that while you can't init the Kendo Menu from a DataSource, you can still use a JSON object to initialize it.
Kind regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
CW
Top achievements
Rank 1
answered on 29 Nov 2012, 03:15 AM
thanks kamen.
i have done with dynamic list. but if i use jason object is it should be static?.. normally we can call api as data source for the some controls (eg: list view, charts) but not the menu.
i have done with dynamic list. but if i use jason object is it should be static?.. normally we can call api as data source for the some controls (eg: list view, charts) but not the menu.
0
Hello,
Atanas Korchev
the Telerik team
As we told you before the Menu does not support data binding. You can use its API for adding items, or create it from a JavaScript array of object.
Greetings,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!
0
Sanjay
Top achievements
Rank 1
answered on 27 Mar 2013, 12:57 AM
I solved this way
http://stackoverflow.com/questions/8433140/is-there-a-javascript-menubar-widget-that-allows-menu-items-to-be-added-and-remo/15650170#15650170
http://stackoverflow.com/questions/8433140/is-there-a-javascript-menubar-widget-that-allows-menu-items-to-be-added-and-remo/15650170#15650170