Regarding Tree View

I need a fix for the following issue:
I modify the code given in “dhtmlxScheduler_v30_120111\samples\06_timeline\03_tree.html” as follow (modification is in BOLD) :

Problem is that when I click Print button, the timeline view shows something like “<DIV class=dhx_sce…”

For demo purpose only :: &1
<script src='../../codebase/dhtmlxscheduler.js' type="text/javascript" charset="utf-8"></script>
<script src='../../codebase/ext/dhtmlxscheduler_timeline.js' type="text/javascript" charset="utf-8"></script>
<script src='../../codebase/ext/dhtmlxscheduler_treetimeline.js' type="text/javascript" charset="utf-8"></script>
[b]<script src='../../codebase/ext/dhtmlxscheduler_pdf.js' type="text/javascript" charset="utf-8"></script>[/b]
<link rel='stylesheet' type='text/css' href='../../codebase/dhtmlxscheduler.css'>
html, body{ margin:0px; padding:0px; height:100%; overflow:hidden; } .one_line{ white-space:nowrap; overflow:hidden; padding-top:5px; padding-left:5px; text-align:left !important; }
 
 
		[b]<input type="button" name="print" value="print" onclick="scheduler.toPDF('http://dhtmlxscheduler.appspot.com/export/pdf')" style='position:absolute; right:472px; top:0px;'>[/b]
		
		<div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
		<div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
		<div class="dhx_cal_tab" name="timeline_tab" style="right:280px;"></div>
		<div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
	</div>
	<div class="dhx_cal_header">
	</div>
	<div class="dhx_cal_data">
	</div>		
</div>

Please try to update dhtmlxscheduler_export.js with the attached one.
dhtmlxscheduler_pdf.zip (2.22 KB)

Thanks for the fix. At least it has started to show child elements in hierarchy.

Export doesn’t support hierarchical view, this is known limitation, but it must show correct plain view with the updated file