Posted 22 June 2020, 7:54 pm EST
Dear Wijmo team,
I’m rendering grouped columns, pretty similar to this example:
https://www.grapecity.com/wijmo/demos/Grid/Columns/ColumnGroups/angular
Column Level 0
return {
dataType: Datatype[attribute.datentyp],
header: this.getAttributHeader(attribute, columnLevel),
columns: this.calculateSubColumns(attribute),
binding: 'attributeValue.' + attribute.id + '.content',
visible: visible,
format: format,
isReadOnly: attribute.isReadOnly,
isRequired: false,
}
Subcolumns
return {
dataType: Datatype[attribute.datentyp],
header: this.getAttributHeader(attribute, columnLevel),
binding: bindingName,
visible: visible,
format: pattern,
isReadOnly: attribute.isReadOnly,
isRequired: false,
};
However, it is now not possible anymore to rearrange the columns by dragging. Is this intended behaviour?
Also, when the dataset doesn’t have grouped items included, dragging works just fine. In both cases, I don’t manually set allowDragging property.
I already figgured out that I can manually set the allowDragging property to true for both Column Level 0 and the normal/subcolumns. Dragging now works. It is also possible to drag a column from inside a column group to outside, and vice versa.
Is it possible to limit the drag “areas”, so that a subcolumn from within a column group can only be dragged within a column group? And columns from outside a column group can’t be dragged into a group. It should still be possible to drag a “normal” column to a “normal” place.
Best regards
Moritz