Timeline Resource's hiding events

Hello,

I think this is a known issue (viewtopic.php?f=6&t=16570&p=51244&hilit=events+hidden#p51244) but I wanted to confirm and if it is still a problem, see if a fix is planned?

I have attached a screenshot of the issue but the issue is basically that the height of all resources is fixed, and therefore if a few events are stacked on the same time they will be hidden by the resources overflow.

The solution posted on the post above was to add a scroll bar… not very neat.

Surely in javascript there is a way to detect that the overflow:hidden has been activated and be able to increase the resource height accordingly?

I found a stack overflow post where people have found a solution using jquery…

stackoverflow.com/questions/2112 … r-overflow

Thanks,

Tim


Hello, Tim.

Thank you for your feedback, we appreciate it.
This issue have been noted and we will see what can be done to improve it.
If I have additional information I will post it here.

Best regards,
Ilya

Hello,

Just wanted to give a heads up: we have implemented such option and most likely I will post updates source codes on Monday.

Best regards,
Ilya

Hello,

Wow, thank-you. I am very much looking forward to it!

Thanks,

Tim

Hello,

Updated files in the attachment (timeline and treetimeline).
New property fit_events is available (true by default).

Best regards,
Ilya
timeline.zip (8.19 KB)

Hello Ilya,

I’ve added the new files, but still doesn’t works for me. Where do I have to set the fit_events property, but anyway you said that by default it’s true. Are there any other settings I must do?

I have the timeline configured like this:

	scheduler.createTimelineView({ 
		name:	"timeline", 
		x_unit:	"hour", 
		x_date:	"%H", 
		x_step:	1, 
		x_size: ' + size + ', 
		x_start: ' + start + ', 
		x_length: ' + 24 + ', 
		y_unit:	sections, 
		y_property:	"section_id", 
		section_autoheight: false, 
		render: "bar" 
	});

Thanks for your help!
Bogdan.


Hello,

No, everything should work as it is now.

If you add another event in your example — will section resize?

Make sure that you have replaced the files and cleared the cache.

Best regards,
Ilya

Yes…, it was from the cache :blush: I’m not doing this very often and not used with it…