Apply fancybox to listview after load from datasource

2 posts, 0 answers
  1. Corey Mitchell
    Corey Mitchell avatar
    6 posts
    Member since:
    Nov 2009

    Posted 14 Jan 2015 Link to this post

    Can you show me a best practice for applying a jquery plugin to anchors in a kendo listview that have been loaded via datasource component? I'm trying to display Vimeo player urls, but the jquery plugin is not attaching to the click event of each anchor, so the vimeo url just launches a new window.
  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2877 posts

    Posted 19 Jan 2015 Link to this post

    Hello Corey,

    You may use the dataBound event which is fired after ListView items are rendered in the DOM:

    Regards,
    Alexander Valchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top