-
23 Aug 2011 1:10 PM #1
Unanswered: Reorder Items in Dataview(Ext.view.View)
Unanswered: Reorder Items in Dataview(Ext.view.View)
Hi,
I'm using a Dataview (Ext.view.view) for displaying a gallery of images. It is possible to "reorder" via drag and drop the items in this Component? I have been looking for a example in the Sencha Example page, but I can't find something similar.
Thanks by your help
-
23 Aug 2011 3:32 PM #2Sencha - Ext JS Dev Team
- Join Date
- Mar 2007
- Location
- Notts/Redwood City
- Posts
- 30,458
- Vote Rating
- 20
- Answers
- 9
Not out of the box.
You will have to write a plugin which uses DragZone and DropZone.
The DrpoZone will have to cleverly see whether the drop point is before or after the "over" element, and insert some kind of drop indicator.
It's complex stuff.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
24 Aug 2011 11:30 AM #3Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
- Answers
- 83
This example should be able to get you started.
http://extjsinaction.com/examples/ch...ltiselect.html
Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
27 Aug 2011 1:49 AM #4
@jgarcia
I'm getting a 404 for the JSON-P when I follow your link.
Code:GET http://extjsinaction.com/examples/chapter12/getEmployees.php?_dc=1314438198875&callback=stcCallback1001 404 (Not Found)


Reply With Quote