This is a migrated thread and some comments may be shown as answers.

Mobile ListView

1 Answer 23 Views
Drag and Drop
This is a migrated thread and some comments may be shown as answers.
Voss
Top achievements
Rank 1
Voss asked on 08 Aug 2014, 06:08 PM
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);

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 11 Aug 2014, 10:51 AM
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!
 
Tags
Drag and Drop
Asked by
Voss
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or