Hybrid View

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    5
    Vote Rating
    0
    niexx is on a distinguished road

      0  

    Default Unanswered: grid drag and drop problem

    Unanswered: grid drag and drop problem


    Hello all. I am working with Grid and grouping view. I added possibility of row drag and drop through groups and every time I move some row it is always places on the bottom of that group.

    Here is my code for that:

    Code:
    new GridDragSource (grid);
    
    
    GridDropTarget target = new GridDropTarget (grid);
            
    target.setAllowSelfAsSource (true);
    target.setFeedback (Feedback.INSERT);
    Does any one have advice how to fix that? Thanks in advance.

  2. #2
    Sencha User
    Join Date
    Oct 2012
    Posts
    1
    Vote Rating
    0
    gzson79 is on a distinguished road

      0  

    Default


    The problem happens because the grid Store puts the DND element at the end and the View is sorting by group. You can solve this problem in two different ways.
    1. Implement your own loader with valid sorting and pass it to your store.
    2. Just nullify your store sorter in the grid. => easier way...
    ex>
    Code:
    store.setStoreSorter(null);

Thread Participants: 1

Tags for this Thread

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