Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Javascript in repor...
 
Notifications
Clear all

Javascript in reports?

3 Posts
2 Users
0 Reactions
3,288 Views
(@papjul)
Posts: 143
Active Member
Topic starter
 
[#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,


 
Posted : 28 Dec 2015 11H13
(@babynus)
Posts: 14952
Member Admin
 

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

Project name

 
Posted : 28 Dec 2015 12H44
(@papjul)
Posts: 143
Active Member
Topic starter
 

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,


 
Posted : 05 Jan 2016 12H09
Share:

Scroll to Top