Apr 22, 2015, 3:20 AM
[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
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]