Skip to Content

SAP UI5 Gantt Chart: During drag operation of rectangle, cursor line to control by code

Hi, I m using SAP UI5 gantt control to display operations as rectangle on the chart. I need to show cursor line in the start of the shape when a selected rectangle on gantt is dragged.

Currently, the shape being dragged shows cursor line in middle/middle-end of the chart wherever mouse is pressed on shape; but during drag cursor position should always be in the starting of the shape.

Below image shows shape selection via mouse, and later during drag of shape the vertical blue cursor line (provided by framework) appears where the mouse was clicked and not on the beginning of the shape.

Currently, cursor line can be enabled/disabled. However, it cannot be captured by code to shift its movement as per requirement using ui5 methods.

Looking forward to reply.

Thanks and Regards,

Manisha Madhwani

s1.png (20.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers