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

Embed panelbar in listview

3 Answers 43 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 21 Jan 2014, 04:18 PM
Hi,

I have a similar problem to this post, which has gone unanswered:
http://stackoverflow.com/questions/20749489/turn-kendo-listview-into-a-panelbar

I have a listview with paging that displays 10 complex table structures of varying size. I would like to have those 10 listview items be a panelbar and continue to work with paging. How could I do that?

3 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 23 Jan 2014, 10:58 AM
Hello Josh,

Could you please provide us with a sample of what you have tried so far? What is the difficult that you have experiences and where your implementation fails?

Thank you in advance for your cooperation.

Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Accepted
Josh
Top achievements
Rank 1
answered on 23 Jan 2014, 02:44 PM
Hi Kiril,

It turned out to be pretty simple to get this working. However, I can't say whether it is the *right* way to do it. :)

I had a listview that was using <div> elements, which I changed that to use <ul id="mylist"> and <li> elements instead. Then, in the 'dataBound' event I convert the list items to a panelbar with:
$("#mylist").kendoPanelBar();
It's working fine so far.

Cheers,
Josh
0
Kiril Nikolov
Telerik team
answered on 24 Jan 2014, 12:12 PM
Hi Joshua,

Your solution seems perfectly valid and should work as expected.

Good luck with the project!

Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ListView
Asked by
Josh
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Josh
Top achievements
Rank 1
Share this question
or