Column Group Dragging

Posted by: paulr on 19 March 2021, 5:15 pm EST

  • Posted 19 March 2021, 5:15 pm EST - Updated 3 October 2022, 2:15 pm EST

    Hi,

    It appears that dragging column groups does not work. For example, if I use this example: https://www.grapecity.com/wijmo/demos/Grid/Columns/ColumnGroups and I change the data.js by adding “allowDragging:true” then column dragging works but column group dragging does not appear to work - please see attached image for reference:

    Is there a way to it work?

    Thank you,

    Paul

  • Posted 22 March 2021, 4:03 am EST

    Hi Paul,

    You will also need to set allowDragging property of the child columns because these columns will be the ones which you will actually drag.

    But, due to the design of the columnGroups the dragging in groups will not work properly. So, instead of only setting allowDragging property, you should also handle the draggingColumnOver event to restrict column dragging from and to certain positions.

    In this sample, you can only drop the column if the parent column is the same.

    https://stackblitz.com/edit/angular-udpdbx

    Regards,

    Ashwin

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels