Skip to Content
avatar image
Former Member

SAPUI5 Gantt chart official example does not work

Dear SAPUI5 developers,

I want to use the Gantt chart of SAPUI5. I found just one example of Gantt Chart in the following link:

https://sapui5.hana.ondemand.com/explored.html#/sample/sap.gantt.sample.BasicGanttChart/preview

While the example works fine in their official website, I downloaded it and run inside of the WebIDE. But it throws the following error and its features like magnifier does not work.

Uncaught (in promise) Error: "-Infinity%" is of type string, expected sap.ui.core.CSSSize for property "selectionPanelSize" of Element sap.gantt.GanttChartWithTable#__xmlview0--ganttView(…)

I didn't change anything. So if you need to run the example to run it you can download the from the above link.

As I understood this problem is not related to the controller. And even when I just load the XML view this error appears.

Also I am looking for some tutorials about SAPUI5 Gantt Chart. But I have not yet found anything. If you can redirect me to some tutorial related to this feature I appreciate it.

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers