I am having issues with the drag and drop implementation within the grid. I am trying to render a column to a cursor, and then use either that cursor or the "No" cursor when dragging over valid drop targets within my grid. All of this logic works fine, however the grid does not appear to ever call GiveFeedback or OnGiveFeedback, nor does it respect Cursor.Current or OnSetCursor for more than a moment, resulting in my custom cursor flickering vs the default drag and drop cursors (move and invalid).
I've tried god-knows-how-many kludges and hacks taken from these forums. NONE have worked. Here are some of the many I've tried (talk about a waste of my time!!):
Correct way in OLE:
GiveFeedback. Never fired.
OnGiveFeedback in derived class. Never fired.
Attempts to turn off underlying grid behavior. Has no impact:
AllowDrop = true;
Model.Options.ControllerOptions = Model.Options.ControllerOptions & ~GridControllerOptions.OleDropTarget;
Model.Options.ControllerOptions = Model.Options.ControllerOptions & ~GridControllerOptions.OleDataSource;
Overriding OnSetCursor. Results in flicker, as does setting Cursor.Current.
The next one to look at is implementing my very own MouseController, however there's no documentation on the subject, and I have no reason to believe it'll work any differently. How about a real solution?
Here are some of the forum threads that are just blind alleys. How about consolidating and fixing stuff like this? It's obviously a common problem... Help!http://www.syncfusion.com/support/forums/grid-windows/29022http://www.syncfusion.com/support/forums/grid-windows/35475/DragHelper%20and%20Cursorhttp://www.syncfusion.com/support/kb/451/How%20do%20I%20change%20the%20mouse%20cursor%20in%20a%20GridControl%20%20GridDataBoundGrid%20%20GridGroupingControl