Forum

Javascript in repor...
 
Notifications
Retirer tout

Javascript in reports?

3 Posts
2 Utilisateurs
0 Reactions
3,287 Vu
(@papjul)
Posts: 143
Active Member
Début du sujet
 
[#2838]

Good day,

I'd like to be able to open project/activity in a popup in reports in Today for example, or at least, add a onclick event with javascript command gotoElement('Project','X') on "MyProject" name, in any report.

For example, I would like to reproduce in my custom reports, the column name in "Projects" report included by default in Today, so when I click on "MyProject", project screen opens at id of "MyProject".

However, I don't seem to be able to add JavaScript because of Dojo (I don't know this toolkit at all) since reports are fetched from Ajax and Dojo can't analyze JavaScript afterwards.

Do you have any solution?

Thanks in advance,


 
Posté : 28 Déc AM 11:1212
(@babynus)
Posts: 14952
Membre Admin
 

just just have to add an event listener to item.
for instance :

Project name

 
Posté : 28 Déc PM 12:1212
(@papjul)
Posts: 143
Active Member
Début du sujet
 

Indeed o_O

I don't know what I did, if I tried to use

which didn't work or if because there was no pointer cursor and I thought the link didn't work >_>

Thank you,


 
Posté : 5 Jan PM 12:011
Share:
Retour en haut