Hyperlink and onrowclick on the same subfile row
Posted: Wed Mar 13, 2013 1:44 pm
Hi
I have a subfile row with a hyperlink AND onrowclick. When the user clicks the hyperlink I'd like it to only process the hyperlink (we make it open a new tab in Atrium). I appreciate I could change from onrowclick to onrowdblclick but I'd prefer not to. Can I use the preventEvent api to disable the onrowclick (not sure if the onrowclick gets processed first)? Or could I perform some test in the onrowclick script to see if the hyperlink has also been clicked and therefore not perform the onrowclick code?
Any thoughts appreciated.
Rob.
I have a subfile row with a hyperlink AND onrowclick. When the user clicks the hyperlink I'd like it to only process the hyperlink (we make it open a new tab in Atrium). I appreciate I could change from onrowclick to onrowdblclick but I'd prefer not to. Can I use the preventEvent api to disable the onrowclick (not sure if the onrowclick gets processed first)? Or could I perform some test in the onrowclick script to see if the hyperlink has also been clicked and therefore not perform the onrowclick code?
Any thoughts appreciated.
Rob.