Hello,
I'm quite new to Infragistics programming/forum, so "hi there!" to all!
I encountered a problem when creating a WinGrid, wanting the user to have the ability to move GridRows via DragDrop.
The "Drag and Drop Strory" functions well, but I would like to have kind of an indicator, to show the user where the UltraGridRow would be inserted, just like the one when moving columns (a red arrow).
How could I achive this? Is there any prossibility to do this the "infragistics way", or do I have to draw the indicator on my own?
Thanks in advance,
Hans.
Hi All,
For those of you who are interested in a sample for implementing this, it is attached to this post. Happy Coding!
Hi Aaron, thanks for sharing this code. I had difficulty using it because we are still using VS2005 as corporate standard. Secondly there were some references to Linq that I had to remove. Finaly, once I got the project into VS2005, I getting compilation errors on these three lines in DragDropRowDrawFilter
internal GridRowDropLinePositionEnum dropLinePosition { get; set; }
public Color DropLineColor { get; set; }
public int DropLineWidth { get; set; }
For each get/set the compiler is complaining
Error 1 'WNG_DragAndDropRowIndicator.DragDropRowDrawFilter.dropLinePosition.get' must declare a body because it is not marked abstract or extern
Error 2 'WNG_DragAndDropRowIndicator.DragDropRowDrawFilter.dropLinePosition.set' must declare a body because it is not marked abstract or extern
Mind fixing it and reposting? Or suggest how to fix it?
Thanks!