I’m running into an issue where if the dhtmlxscheduler control is placed within a simple table or div it won’t render. Using dhtmlxscheduler_debug.js, it looks like the issue is an “Invalid argument” error in scheduler.set_xy, on line node.style.width=w+“px”;.
Here are a couple examples from the sample_static.html in the demo to demonstrate the general idea.
Scheduler takes their size, from related html element of moment of initialization There are two situation possible
a) you calling init code while html cod not fully rendered yet ( table not closed for example ) - in such state table has not any size assigned and 100% of schedulers width can’t be converted to any fixed value ( moving init code in onload handler can help in such situation )
b) external div or table element has not any specified width - same as above 100% can’t be converted to fixed value and produces error.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan