Skip to Content
0

SAPUI5 Gantt chart official example does not work

Nov 16, 2016 at 01:52 PM

77

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers