dhtmlxGantt 2.0 - hiding links/popups

Is there a way in dhtmlxGantt 2.0 to hide all linking options on tasks? Especially the link options that show up when hovering over a task bar? I’m not able to find any properties/options to do this in the documentation. I’ve set “gantt.config.readonly = true;” which prevents editing and resizing, but when this is set double-clicking on the task still brings up a popup.

Thanks,
Eric

Check this config
docs.dhtmlx.com/gantt/api__gantt … onfig.html

Yes! that was a step in the right direction - the links are no longer available.

Now how do I prevent the popup “windowbox”?

Thanks,
Eric

I think I got it, I just added this:

	gantt.attachEvent("onBeforeLightbox", function(id) {
	    return false;
	});

there should have been another config that disables task details on double click, but seems like it’s missing from the beta.
But you can disable popup completely(or make some condition that would allow it’s showing) using onBeforeLightbox event: gantt.attachEvent("onBeforeLightbox", function(id) { //return false to cancel opening lightbox return false; }); docs.dhtmlx.com/gantt/api__gantt … event.html

Hi,

I have a follow-up question: even in read-only mode, you are allowed to

  • start dragging a link (change or create a link)
  • double-click a link resulting in confirmation popup like “Link will be deleted”

Any way to get rid of this behavior resulting in 100% read-only grid?

Answered here viewtopic.php?p=104091#p104091