Timeline View - Use a Section Label (Y-Axis) as a Hyperlink

Hi Everyone,

Hoping this is a pretty basic question. Is it possible to turn a section label into a hyperlink. If so a point in the right direction would be appreciated.

Kind Regards
Chris

Hi,
you can redefine a content of y-axis items using this template
docs.dhtmlx.com/scheduler/api__s … plate.html

Perfect! Thank You.

For anyone else interested here’s how and what I was using it for:

scheduler.templates.timeline_scale_label = function(key, label, section)
		{ 
			if(section.level == 0)
			{
				return label;
			}
			else
			{
				return '<a href="/control_panel/vehicles/update/'+key+'">' + label + '</a>'; 
			}
  		};

By checking the section.level I was able to stop it from trying to create a hyperlink for the parent label in treeview.