Skip to Content
0
Oct 14, 2019 at 08:22 AM

SAPUI5 GanttChart - Drag and drop is not working (v.1.44.19)

150 Views

Hi experts,

I'm facing an issue with the sap.gantt.GanttChartWithTable control. I'm working with version 1.44.19 and I'm not able to drag my rect shapes. All shapes are rendering correctly and even other events like chartDoubleClick and chartRightClick are working without problems.

As you can see in the pictures, I can drag the shapes at the latest version.

1700.png

There's some kind of bug with version 1.44.19 ? Or I'm missing something?

I think this is irrelevant, but here's the code.

<gantt:GanttChartWithTable id="idGanttChartWithTable" shapeDragEnd="handleShapeDragEnd" chartDoubleClick="handleChartDoubleClick">
...
</gantt:GanttChartWithTable>
oGanttChartWithTable.bindAggregation("rows", {
	path: "/GanttChartSet",
	parameters: {
		expand: "children,order",
		navigation: {
			PlanningTreeTableSet: "children",
			OrderSet: "order"
		}
	}
});
oGanttChartWithTable.setShapes(function () {
        var oRectShape = new sap.gantt.config.Shape({
		...
		shapeProperties: {
			...	
			enableDnD: true
		}
	});
}

Thanks in advance!

Best regards,

Attachments

1700.png (17.2 kB)