Jun 4, 2009 at 5:20 PM
Edited Jun 4, 2009 at 5:53 PM
I need to custom implement the select and drag events:
1) I have rows that spam the whole grid and do not want to select them.
How would you guys recommend solving this?
2) I need to implement a custom drag/drop solution
I can use the mouse down/ mouse move / mouse up events to trigger a drag, but it conflicts with the selection drawing (eg, if I am dragging I do not want to start a selection)
What I want the grid to do, is conform to Windows explorer style dragging / dropping selected. If I click on a cell that is NULL or text "", I want to beging the select box, otherwise, I want to begin my "drag" operation.
An other good approach if I start dragging and the cell does not have focus, it can start the select procedure, however if I click on a cell, then click again to start a drag operation, I do not want the select stuff...
Any suggestions woudl be appreciated.