Hi there,
After installing the component using NPM, the next step on this tutorial shows how to create a react component for gantt.
dhtmlx.com/blog/create-react-ga … tmlxgantt/
I am having an issue when trying to configure the height property of my Div.
The tutorial is using:
style={{width: ‘100%’, height: ‘100%’}}
When I try that, only the header of the component is displayed.
If I try something like this, the component will be displayed as expected, but I get this message in the console:
style={{width: ‘100%’, height: ‘700’}}
“Warning: a div
tag (owner: Gantt
) was passed a numeric string value for CSS property height
(value: 700
) which will be treated as a unitless number in a future version of React.”
Therefore, I guess I need to change that, but it seems very weird that setting the property to “100%” won’t work.
Has anybody faced an issued like that?