Bind to local data

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

    Posted 02 Oct 2014 Link to this post

    Hello, 

    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 = dataSource.at(0);
    node.load(); 

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

    Kind regards
    Axel

  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 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.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top