cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member635724
Discoverer
0 Kudos

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,

Accepted Solutions (0)

Answers (0)