View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Javascript in reports? - ProjeQtOr
 
 

Javascript in reports?

More
28 Dec 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 Log in or Create an account to join the conversation.

More
28 Dec 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 Log in 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 Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.030 seconds

Cookies settings

×

Functional Cookies

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

Please login to see yours activities!

Other cookies

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