View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Javascript in reports? - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

Javascript in reports?

More
28 Déc 2015 09:13 #1 by papjul
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,

Please Connexion or Create an account to join the conversation.

More
28 Déc 2015 10:44 #2 by babynus
Replied by babynus on topic Javascript in reports?
just just have to add an event listener to item.
for instance :
<td onclick="gotoElement('Project',1);" >Project name</td>

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
05 Jan 2016 10:09 #3 by papjul
Replied by papjul on topic Javascript in reports?
Indeed o_O

I don't know what I did, if I tried to use <div dojo> which didn't work or if because there was no pointer cursor and I thought the link didn't work >_>

Thank you,

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.045 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.