tooltip out of screen - can't disable tooltip event matrix

Hello everyone,

i am having a problem with timeline tooltips

I have in one page 3 timeline views
one in render tree mode
and other two in cell mode.

In the tree view mode i don’t have a problem with tool tip position.
In the other two modes i have the problem that you can see in attached image.
The position of tool tip gets out of screen and also show it in the left of the cell.

Also i try to disable the tooltip mechanism and show something of my own.
When i put

scheduler.attachEvent(“onBeforeTooltip”, function() {
return false;
});

tooltips from tree mode disabled successfully but in the other modes they continue to display.


forgot to say that i am with the latest version 4.0

i test in sample in samples\06_timeline

with this code

scheduler.createTimelineView({
			name:	"timeline",
			x_unit:	"day",
			x_date:	"%d %M",
			x_step:	1,
			x_size: 1,
			y_unit:	sections,
			y_property:	"section_id"
		});

if you see in attached image the tooltip it popups every time in left and out of the screen if i have only one day to show.

Any workaround for this?