If a column is already in the groupbox, I want the user to get the "Cannot Drop" symbol if they try to drop the column in the groupbox again. Currently, it will only do that if the user tries to drop the column in the same position in the group box. If the column is already in the groupbox, but the user attempts to drop the same column in a different position, then that is allowed.
To clarify, what I want is for the user to only be able to rearrange the columns grouped by dragging and dropping the column header that is already in the group box. I don't want the user to be able to drag and drop a column header from the grid itself into the group box at all (Cannot Drop symbol) if the column is already in the group box.
Is there a way to accomplish this?
Hi Steve,
No, when I said there's no way, I meant there really no way, not that it's just difficult to do.
The dragging of columns is not actually a real drag operation, it's just a simulated drag handled by the grid and it's all internal. So the only way to get involved in this process is by altering the grid's source code.
I understand that there may not be a native way of accomplishing this with the Win Grid itself. I was just wondering if somehow there is a way to display an X image over the control's drag area manually to achieve the same effect.
Hi,
No, I can't think of any way to do this. You should Submit a feature request to Infragistics and perhaps this can be added in a future release.