Embed panelbar in listview

4 posts, 1 answers
  1. Josh
    Josh avatar
    72 posts
    Member since:
    Jun 2013

    Posted 21 Jan 2014 Link to this post

    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?
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 23 Jan 2014 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Answer
    Josh
    Josh avatar
    72 posts
    Member since:
    Jun 2013

    Posted 23 Jan 2014 Link to this post

    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
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 24 Jan 2014 Link to this post

    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!
Back to Top
Kendo UI is VS 2017 Ready