Mobile ListView

2 posts, 0 answers
  1. Voss
    Voss avatar
    11 posts
    Member since:
    Jul 2014

    Posted 08 Aug 2014 Link to this post

    Is it possible to implement DrapDrop on a mobile ListView?

    I have the list set up like this:

    var vm = kendo.observable({
               isVisible: true,
               onTest1: function (e) {
                   kendoConsole.log("event :: test1(" + kendo.stringify(e.model, null, 4) + ")");
               },
               products: new kendo.data.DataSource({
                   schema: {
                       model: {
                           id: "ProductID"
                       }
                   },
                   batch: false,
                   transport: {
                       read: {
                           url: "http://demos.telerik.com/kendo-ui/service/products",
                           dataType: "jsonp"
                       }
                   }
               })
           });

           kendo.bind($("#content"), vm, kendo.mobile.ui);
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 11 Aug 2014 Link to this post

    Hi Voss,

    I have already answered similar questions like this in the support ticket that you sent us. I will copy my response here as well:

    The Drag&Drop framework works in mobile application as well. As for your mobile ListView - first using kendo.bind() in mobile applications is not supported you need to use the mobile MVVM binding that is explained here:
     
     
    In order to make the ListView draggable, you need to initialize it as a Kendo UI Draggable element, as shown in this example:
     
     
    I would strongly suggest you to check the Drag and Drop documentation:
     


    Regards,
    Kiril Nikolov
    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