Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
470
Disable dropping of duplicate column in groupbox
posted

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?

Parents
  • 3565
    posted

    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.

Reply Children
No Data