Bind to local data

2 posts, 0 answers
  1. axel
    axel avatar
    57 posts
    Member since:
    Jan 2010

    Posted 02 Oct 2014 Link to this post


    could you please provide an example how to bind a mobile listview to a hierarchical datasource bound to local json data?
    When I try to load child nodes, I get a type error that undefined is not a function.

    var node =;

    Is it possible to slide the listview content instead of the entire view, when I don't want to use a splitview?

    Kind regards

  2. Alex Gyoshev
    Alex Gyoshev avatar
    2527 posts

    Posted 06 Oct 2014 Link to this post

    Hello Axel,

    Here is a Dojo example that shows this. It is running in fullscreen so that the back button functions; click the "edit this example" button to go to the source. If you want only the listView content to change, you can remove the navBar-related code and use setDataSource(employees) to return to the root level.

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