Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  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