Model View with back button

2 posts, 0 answers
  1. Brad
    Brad avatar
    9 posts
    Member since:
    Sep 2015

    Posted 11 Jan Link to this post

     I created a kendo dojo snippet to show you. However, there is a difference. In my code I want it to do an ajax read instead of a ds of a local js object. The behavior I'm seeing is happening in this template as well so I think you can understand what I am trying to do. First I pull a list of classes, then when you click one you go to the detail view. If you click the back link to go back to the list, and click another item from the list. You go to the detail page, but the same detail from the previous click is shown. I think I don't understand completely how the model is bound to the view, because I would think it would update the detail.
  2. Alexander Valchev
    Alexander Valchev avatar
    2873 posts

    Posted 13 Jan Link to this post

    Hi Brad,

    I found a very simple example which illustrates how to achieve the detail view scenario.

    Pay attention how the selected field is updated.

    Note that in order the back button to work you have to run the snippet in a full screen (press the full screen button in Kendo Dojo).

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