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

Apply fancybox to listview after load from datasource

1 Answer 76 Views
HTML5, CSS, JavaScript
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Corey Mitchell
Top achievements
Rank 2
Corey Mitchell asked on 15 Jan 2015, 05:53 AM
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.

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 19 Jan 2015, 05:15 PM
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!
 
Tags
HTML5, CSS, JavaScript
Asked by
Corey Mitchell
Top achievements
Rank 2
Answers by
Alexander Valchev
Telerik team
Share this question
or