$(Document).ready() on ClientDetailTemplate

2 posts, 0 answers
  1. James
    James avatar
    17 posts
    Member since:
    Sep 2014

    Posted 29 Jun Link to this post

    I'd rather do some DOM manipulation in an external Javascript(actually Typescript) than the inline templating javascript syntax that Kendo uses, but I'm having trouble with when the DOM is ready so I can apply my changes to these elements.   I don't think $(Document).ready() works in my Typescript constructor that gets called everytime the row is expanded for the details.  Is there an event I can subscribe to in order to know when I can start manipulating the DOM?
  2. Dimo
    Admin
    Dimo avatar
    8331 posts

    Posted 01 Jul Link to this post

    Hi James,

    I recommend using the detailInit event of the Grid.

    http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#events-detailInit

    Regards,
    Dimo
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
Back to Top