1. #1
    Sencha User
    Join Date
    May 2010
    Location
    Bogota
    Posts
    27
    Vote Rating
    0
    lord_of_php is on a distinguished road

      0  

    Question 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

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Answers
    13
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    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.

  3. #3
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Answers
    102
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    This example should be able to get you started.
    http://extjsinaction.com/examples/ch...ltiselect.html

  4. #4
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,575
    Answers
    540
    Vote Rating
    311
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    @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)

  5. #5
    Sencha User
    Join Date
    Jul 2008
    Location
    Czech republic
    Posts
    49
    Vote Rating
    0
    ondra.cz is on a distinguished road

      0  

    Default


    Hello guys,
    I'm trying to make the same functionality like Lord-of-PHP did. To have the posibility to reorder items in dataview via drag & drop.
    Has anyone any example to show?

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi