I want to open a detail window when I click in the task label of a gantt chart.
I'm using Apex 18.2 and the jet gantt chart.
The element definition shows like that:
<g transform="matrix(1,0,0,1,1763.6129256428076,70)" id="722" role="img"
aria-label="Colaborador: Luis Moreira (Engº); De: 22 de abr de 2019; a: 27 de abr de 2019; Evento: <a href="f?p=&APP_ID.:21:&SESSION.::NO:RP:P21_FORMACAO_ID:106">SOAAA12</a>">
<path d="M0 0 H79.47185545517709 V22 H0 Z" class="oj-gantt-task oj-gantt-task-bar gantt-display-style-confirmada" shape-rendering="crispEdges"></path>
<text dominant-baseline="text-before-edge" class="oj-gantt-task-label" fill="rgb(0, 0, 0)" font-size="8.5714px" x="84.47185545517709" y="5.5">
Is there a way to do that ?
JET Gantt charts don't support the drill event (unlike the other declarative JET chart support available), which is why there is no declarative Link attribute for Gantt charts in APEX currently. Some of the community have looked at ways to workaround the lack of link support in the JET Gantt API, so you might find it helpful to search through previous threads on this topic - such as Adding a link (for edit) in Gantt JET Chart in 18.x.