[CLOSED] Drag Tracker in Grid Panel

  1. #1

    [CLOSED] Drag Tracker in Grid Panel

    This is related to the Advanced Drag example that allows you to select multiple divs by dragging across their frames. (https://examples1.ext.net/#/DragDrop...d/DragTracker/)

    I have a grid 10x10. I use the rendered to set the meta.background-color properly. I want to incorporate the user dragging across the grid cells (selection model=cell).
    Anything within the "drag square" when the mouse is released should be selected. As long as I can iterate over all records (and column index) that are within the selected cells, I am good. I place to call record.set(X) on all "selected" cells and then the renderer will change the background for me based on my custom renderer.

    Any thoughts?
    /Z
    Last edited by Daniil; Apr 28, 2015 at 9:11 AM. Reason: [CLOSED]
  2. #2
    Hello @Z,

    Your scenario sounds doable.

    I remembered somebody already tried a GridPanel + RowSelectionModel + DragTracker combination quite successfully:
    http://forums.ext.net/showthread.php?20708

    You should be able to get it working with a CellSelectionModel.

Similar Threads

  1. [CLOSED] Enable/Disable drag and drop of grid panel.
    By aditya in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 26, 2014, 6:10 AM
  2. Replies: 13
    Last Post: Sep 26, 2013, 10:04 AM
  3. Replies: 4
    Last Post: Jul 19, 2013, 1:16 AM
  4. Replies: 0
    Last Post: Apr 02, 2013, 5:25 AM
  5. [CLOSED] Checkbox is not able uncheck in grid panel with drag and drop
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 02, 2012, 6:13 AM

Posting Permissions