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
550
Show "not allowed"-sign while swapping a column into a forbidden group
posted

Hello,

I'd like to disallow swapping columns from one group to another group. While dragging a column over a forbidden group the "not allowed"-sign should be shown.

In the event "BeforeColPosChanged" I'm able to cancel the action (e.cancel = true), but nevertheless the red arrows are shown beforehand (seems to be possible, although it is not).

How can I show the "not allowed"-sign instead ?

  • 550
    Verified Answer
    posted

    sorry, didnt't see these properties at once:

    layout.Override.AllowColSwapping = AllowColSwapping.WithinGroup;

    layout.Override.AllowColMoving = AllowColMoving.WithinGroup;

    This works.