event called too early?

3 posts, 1 answers
  1. Ryan
    Ryan avatar
    27 posts
    Member since:
    Jan 2013

    Posted 01 Dec 2014 Link to this post

    KendoUI version v2014.2.926 

    I am trying to modify an html element after a view is shown.

    So, I do this:

    var view = new kendo.View(
        templateId, {
            model: viewModel,
            show: function() {

    In my handleRenderDone function, I can tell that the html has not been rendered yet. Do I misunderstand what the show event is for as described in the doc here:


  2. Answer
    Alexander Valchev
    Alexander Valchev avatar
    2873 posts

    Posted 03 Dec 2014 Link to this post

    Hi Ryan,

    I created a very simple example which demonstrates how to manipulate the View DOM elements at the show event, after the View is rendered.
    Could you please check it and let me know what I am missing?

    Alexander Valchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Ryan
    Ryan avatar
    27 posts
    Member since:
    Jan 2013

    Posted 03 Dec 2014 in reply to Alexander Valchev Link to this post

    After working through your example and my code again, I realized it was a bug in my code. The show callback is working correctly.

    Thanks again,
Back to Top