Results 1 to 3 of 3

Thread: grid row dnd

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default grid row dnd

    Hello,

    I have a bug, which it can be reproduced in Ext Js. 6.5.2.
    In grid view, if the horizontal scroll is present.
    If the user tries to change with DnD a grid row item position the indicator line always jump to the top.
    For ex.: I drag the last item and try to drop as second item in grid.
    The green line indicator always shows in first line, it does not show on the right place.
    Attached is an image which illustrates.

    If you open the following Ext Js example: https://docs.sencha.com/extjs/6.5.2/....DragDrop.html
    And paste the following code you can reproduce it.

    Code:
    var store = Ext.create('Ext.data.Store', {
        fields: ['name', 'test'],
        data: [{name: 'Lisa', test: 'test'},{name: 'Lisa', test: 'test'},{name: 'Lisa', test: 'test'},{name: 'Lisa', test: 'test'},{name: 'Lisa', test: 'test'},{name: 'Lisa', test: 'test'}],
        proxy: {
            type: 'memory',
            //reader: 'array'
        }
    });
    
    Ext.create('Ext.grid.Panel', {
        store: store,
        enableLocking: true,
        columns: [{
            header: 'Name',
            dataIndex: 'name',
            width: 300
        },{
            header: 'Test',
            dataIndex: 'test',
            width: 300
        }],
        viewConfig: {
            plugins: {
                gridviewdragdrop: {
                    dragText: 'Drag and drop to reorganize'
                }
            }
        },
        height: 200,
        width: 500,
        renderTo: Ext.getBody()
    });
    Attached Images Attached Images

  2. #2
    Sencha Premium Member richardvd's Avatar
    Join Date
    Jun 2011
    Location
    NL
    Posts
    255

    Default

    This is bug EXTJS-24622 (Drag indicator not aligned after view scrolled) which has been fixed in Ext JS 6.6.0.

    If you can't upgrade, use the override in this posting.

  3. #3

    Default

    Hello,

    It works thank you very much!!!!!

Similar Threads

  1. Replies: 2
    Last Post: 5 Jul 2016, 4:55 AM
  2. Replies: 1
    Last Post: 21 Dec 2013, 6:28 PM
  3. Replies: 7
    Last Post: 11 Apr 2011, 8:28 PM
  4. Replies: 0
    Last Post: 31 Aug 2009, 9:22 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •